InteractiveService does not work with DiscordShardedClient
I don't know if this is just me, but trying to use this with a DiscordShardedClient as the client results in the bot not even starting, resulting in the error:
Unhandled Exception: System.InvalidOperationException: Unable to resolve service for type 'Discord.WebSocket.DiscordSocketClient' while attempting to activate 'Discord.Addons.Interactive.InteractiveService'.
I looked at the code and saw that the InteractiveService only used a DiscordSocketClient. I tested the bot with SocketClient instead of ShardedClient and it worked fine. Would there be a way for it to use both Sharded and Socket?
Did you ever find a fix, I am having the same issue but require the interactive module.
edit Sorry for necro spam
Unfortunately no, I had to manually change all of the code to SocketShardedClient myself, then I was able to get it to start. I could try and create a way for both Clients to be supported, although the only thing I have put together at the moment is the code I changed for myself.
Sorry for the necro, but it looks like it does support it now. However it hasn't been updated on NuGet, would it be possible to?