I'm trying to create a simple bot by following this tutorial
I'm using .NET Core 5.0 console app and my code is the same as the provided.
When I run the "bot.connect()" line, the connection state never change to "isConnected". If I try to add an listener to connectionChanged event, it never throws.
If I try to await the connection task, it throws an exception inside margie lib. The stacktrace only shows
at MargieBot.Bot.<Connect>d__58.MoveNext()
Already double checked my token and everything is fine, I can add my app to my workspace and it have the following permissions
app_mentions:read
View messages that directly mention @mybot in conversations that the app is in
chat:write
Send messages as @mybot
chat:write.customize
Send messages as @mybot with a customized username and avatar
Hi!
I'm trying to create a simple bot by following this tutorial
I'm using .NET Core 5.0 console app and my code is the same as the provided.
When I run the "bot.connect()" line, the connection state never change to "isConnected". If I try to add an listener to connectionChanged event, it never throws.
If I try to await the connection task, it throws an exception inside margie lib. The stacktrace only shows
at MargieBot.Bot.<Connect>d__58.MoveNext()
Already double checked my token and everything is fine, I can add my app to my workspace and it have the following permissions
Any clues ?