Discord.Addons.Interactive icon indicating copy to clipboard operation
Discord.Addons.Interactive copied to clipboard

How do I make NextMessageAsync work in slash commands?

Open HAHOOS opened this issue 3 years ago • 3 comments

Hello, so I wanted to use NextMessageAsync for my bot, but I got problem. It needs something called SocketCommandContext and it does need user and message, but firstly in SocketCommandContext user must be DiscordSocketClient, but SocketClient cannot be converted, secondly you need command message, but slash command is not a messsage, please help!

HAHOOS avatar Feb 14 '22 16:02 HAHOOS

Could you send some code? For What I see now is that you need to use InteractiveBase<SocketCommandContext> instead of just InteractiveBase

kollibroman avatar Feb 15 '22 12:02 kollibroman

I don't know what should I send

HAHOOS avatar Feb 16 '22 13:02 HAHOOS

Module where you have a problem

kollibroman avatar Feb 17 '22 09:02 kollibroman