drizzle-mizzle / CharacterAI-Discord-Bot

CharacterAI for your Discord server
MIT License
245 stars 60 forks source link

System.Exception: WebSocket connection was closed #82

Closed Jonbivo closed 1 year ago

Jonbivo commented 1 year ago

Hi, I can't get the bot running any commands. I got this when I open the .exe on windows:

Discord Discord.Net v3.10.0 (API v10) Gateway Connecting 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.ConnectionManager.WaitAsync() at Discord.WebSocket.DiscordSocketClient.OnConnectingAsync() at Discord.ConnectionManager.ConnectAsync(CancellationTokenSource reconnectCancelToken) at Discord.ConnectionManager.<>c__DisplayClass29_0.<b__0>d.MoveNext() Gateway Disconnecting Gateway Disconnected

drizzle-mizzle commented 1 year ago

78