❔ going from prefix commands to slash commands in discord.net
So the creator of this repo has archived the repo.
Does anyone know, how can i easily convert to use slash commands?
Here is the link to the repo
https://github.com/drizzle-mizzle/CharacterAI-Discord-Bot
GitHub
GitHub - drizzle-mizzle/CharacterAI-Discord-Bot: CharacterAI for yo...
CharacterAI for your Discord server. Contribute to drizzle-mizzle/CharacterAI-Discord-Bot development by creating an account on GitHub.
23 Replies
you'd have to convert all classes inheriting from
ModuleBase<SocketCommandContext>
to inherit from InteractionModuleBase<SocketInteractionContext>
instead and whatever changes to the logic within the methods that that may entail... in particular interactions should be using respond instead of replyCould you please explain it in more detail. Thank you in advance.
oh god its confusing.
welp guess i am staying on @ping commands
you would have to change how you register commands as it's not going to be the message recieved handler anymore https://github.com/discord-net/Discord.Net/blob/dev/samples/InteractionFramework/InteractionHandler.cs
yeah discord told me i could use this as an alternative
didn't the original project just move over to https://github.com/drizzle-mizzle/Character-Engine-Discord
why not use that?
because no
original works too good
¯\_(ツ)_/¯
ive already changed on how i use intents
that was a pain
even chatgpt aint helpful as its too complex for it 🤔
it probably doesn't have much info on slash commands
so dont i
you have docs 🙃
sad that cs isnt in my school program
i know character engine has more features
but
I like the simplicity
i even cut off some other commands and blocked them from using without approval
wait lemme log in to my panel
this is what mine is currently
might be easier to remove the extra stuff from the updated project than updating the old one though
well.. its difficult
yeah characterengine is not suitable
its a multi-character bot while the one i use is for single character only
oh
+ each character is not global but actually per single channel
I got the developer of the bot to start rewriting the code + new features
unexpected outcome... cool
Well it comes at a financial cost
lol
ok
Looks like nothing has happened here. I will mark this as stale and this post will be archived until there is new activity.