Closed megaoka closed 5 years ago
Also: Unticking and then re-ticking the plugin in the plugin listing will do a couple things.. either it will throw an error about TextBox() or the server and channel lists won't show up. Basically it doesn't work at all. You have to close ACT to safely reset the plugin.
https://github.com/Makar8000/ACT-Discord-Triggers/blob/f665c2824939f3502a1a4a7d934ede49e5681409/ACT_DiscordTriggers/DiscordAPI/DiscordClient.cs#L37
I think there is an issue where line 37 and 38 aren't being waited upon and getting skipped causing login issues. I also think it is not catching the exceptions and not throwing an error.
Here are the edits I have made to my method:
However I had to butcher the button click method:
I'm not knowledgeable enough to fix this part and it will need to be fixed. However, after making it awaiting those two bot commands it has helped with login problems.