✅ Obscure error in Discord.Net
I'm getting an error in Discord.Net and have googled it to no avail. The code behind it was the normal discord.net example code and I have seen it was identical but it would not work.
14 Replies
I know it's been 1.5 days since I've written this post
Can you show your code?
It's drastically different from now
But you're still having the same problem?
Error handling Dispatch (GUILD_AVAILABLE)
I left it on for a while and it was able to resolve itself because it kept disconnecting and reconnecting so I tried putting some code in that disconnects and reconnects but to no avail
I cannot show the code at the moment but I can in a few minutes
Take your time
@Kouhai /人◕ ‿‿ ◕人\ Here is most of the project (it excludes some things like bin and obj)
Sorry, I don't download random zip files, can you upload the code on github?
Ok
https://github.com/bornacheck/adiscordbot
I know I put my token in there but Discord sent me that message and so that token wouldn't work anymore
@Kouhai /人◕ ‿‿ ◕人\ Not sure if you saw that message from earlier but hopefully this is noticed
Did you downgrade discord.net to 3.8.1?
Well, the culprit is
<InvariantGlobalization>true</InvariantGlobalization>
in your csproj
You can make it false
and it should work
<InvariantGlobalization>false</InvariantGlobalization>
@string? Borna { get; set; }Yes I thought that would work because my other project was that and it worked
Let me try making that false
I see, yeah you don't need to downgrade it,
<InvariantGlobalization>false</InvariantGlobalization>
should fix it :InaNod:It worked! Thanks for the help
:ThumbsUp:
You can
/close
the thread if everything is good