Skip to content

Intents for bot #4

@maaknaamaan

Description

@maaknaamaan

Could you tell me what intents I need for the bot to work? Currently won't come up and it looks like it's the intents that are not correct, but I have no clue what is needed.

19:41:12 Gateway     Connecting

19:41:13 Gateway     System.Exception: WebSocket connection was closed

 ---> Discord.Net.WebSocketClosedException: The server sent close 4014: "Disallowed intent(s)."

   at Discord.Net.WebSockets.DefaultWebSocketClient.RunAsync(CancellationToken cancelToken)

   --- End of inner exception stack trace ---

   at Discord.WebSocket.DiscordSocketClient.OnConnectingAsync()

   at Discord.ConnectionManager.ConnectAsync(CancellationTokenSource reconnectCancelToken)

   at Discord.ConnectionManager.<>c__DisplayClass29_0.<<StartAsync>b__0>d.MoveNext()

19:41:13 Gateway     Disconnecting

19:41:13 Gateway     Disconnected

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