Skip to content

Commit

Permalink
Fix discord sample
Browse files Browse the repository at this point in the history
  • Loading branch information
cristipufu committed Feb 9, 2022
1 parent bd1b1e7 commit f48578a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/Ninja.WebSocket.DemoConsole/DiscordWebSocketClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public async Task StartAsync(string botToken)

var jo = JObject.Parse(message);
var opCode = jo?.SelectToken("op")?.ToObject<int?>();

switch (opCode)
{
case 10: //Hello
Expand Down

0 comments on commit f48578a

Please sign in to comment.