Slash command choices [Answered]
Hi, I'm trying to make a Slash Command with choices. I do use a different Slash Command setup then they guide I've found and now I'm wondering if it's possible to make the way I've done shown in the image.
Slash Command Choice Guide: https://discordnet.dev/guides/int_basics/application-commands/slash-commands/choice-slash-command.html
4 Replies
Yup, here's an example from @MODiX: https://github.com/discord-csharp/MODiX/blob/main/Modix.Bot/Modules/FunModule.cs#L53-L69
GitHub
MODiX/FunModule.cs at main · discord-csharp/MODiX
Discord Bot handling basic moderation needs, soon implements statistics. - MODiX/FunModule.cs at main · discord-csharp/MODiX
If you're using Discord.Net you can also define an Enum and use that as your method's parameter
Thanks guys it works now
✅ This post has been marked as answered!