Skip to content

InteractiveService does not work with DiscordShardedClient #12

Description

@EBro912

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions