Ownix
Explore posts from serversSIASapphire - Imagine a framework
•Created by Ownix on 5/22/2024 in #sapphire-support
Just updated to 5.2.1 nothing working and no errors
After all, having commands rely on prefixes is not enough for getting the intent's approval.Is that just because the API has more ceremony around slash commands?
28 replies
SIASapphire - Imagine a framework
•Created by Ownix on 5/22/2024 in #sapphire-support
Just updated to 5.2.1 nothing working and no errors
That is helpful information regarding this being a discord API v9 -> v10 thing.
28 replies
SIASapphire - Imagine a framework
•Created by Ownix on 5/22/2024 in #sapphire-support
Just updated to 5.2.1 nothing working and no errors
@kyra 🩵🩷🤍🩷🩵 Thanks for the quick help. It would probably have taken me agest to compare the intents before I noticed the new required one.
28 replies
SIASapphire - Imagine a framework
•Created by Ownix on 5/22/2024 in #sapphire-support
Just updated to 5.2.1 nothing working and no errors
I ported my intents from just strings:
old:
28 replies
SIASapphire - Imagine a framework
•Created by Ownix on 5/22/2024 in #sapphire-support
Just updated to 5.2.1 nothing working and no errors
That fixed it. Why is there 0 errors in logs???
28 replies
SIASapphire - Imagine a framework
•Created by Ownix on 5/22/2024 in #sapphire-support
Just updated to 5.2.1 nothing working and no errors
If there was a conflict with my intents, would that cause Discord to ignore my bot?
28 replies
SIASapphire - Imagine a framework
•Created by Ownix on 5/22/2024 in #sapphire-support
Just updated to 5.2.1 nothing working and no errors
28 replies
SIASapphire - Imagine a framework
•Created by Ownix on 5/22/2024 in #sapphire-support
Just updated to 5.2.1 nothing working and no errors
Yes I ported my old commands over to it as there were many changes to setup.ts and index.ts and utils.ts and basically every file.
28 replies
SIASapphire - Imagine a framework
•Created by Ownix on 5/22/2024 in #sapphire-support
Just updated to 5.2.1 nothing working and no errors
yes, when you do
sapphire new
and then select "Complete template" from the options.
It will generate a simple bot which will include a "Ping" command. The default prefix is "!" as well.
Starting my bot and running !ping
does nothing. No logs either. As you can see login seems successful and many commands have been scanned and registered.28 replies
SIASapphire - Imagine a framework
•Created by Ownix on 5/22/2024 in #sapphire-support
Just updated to 5.2.1 nothing working and no errors
If I at least had some log errors to go off of...
28 replies
SIASapphire - Imagine a framework
•Created by Ownix on 5/22/2024 in #sapphire-support
Just updated to 5.2.1 nothing working and no errors
28 replies
SIASapphire - Imagine a framework
•Created by Ownix on 5/22/2024 in #sapphire-support
Just updated to 5.2.1 nothing working and no errors
@kyra 🩵🩷🤍🩷🩵 Thanks for your reply. I meant 5.2.1 that is my bad.
What do you mean by Chat input? And I do not see any context menu items but I will admit I am new with context menu items.
For example, typing !ping as per the default command that ships with the "Complete template" does nothng right now.
28 replies
❔ Is there a pattern for having a single collection of different object types?
@TeBeClone I think I have a working example now: https://dotnetfiddle.net/drzai7
Question, is there a way to take an existing command (
public class Command2 : WorkflowCommand
) and convert it to a ScheduledWorkflowCommand
without defining a new class?7 replies
❔ Argument 1: cannot convert from 'Ardalis.Result.Result' to 'TResponse'
okay so casting it to... itself worked. Still don't understand it though.
state.SetHandled((TResponse)translatedResponse)
https://dotnetfiddle.net/OJrjUD12 replies