Closed Ethorbit closed 6 months ago
Thanks for the contribution! I haven't touched this project in a good while, but there are still some more things to do to bring it up to date. I'm going to go ahead and merge this and then take care of the following in another commit:
I noticed the current bot starts with a strange websocket error and stays offline, never having its MessageHandler get called. I upgraded discordgo from 0.20 to 0.24.0 which fixes those issues.
The command prefix and MessageHandling have also been replaced with Discord's newer Application Command and IntegrationHandling. I wasn't able to figure out a way to show an error to the user if the bot doesn't have the
applications.commands
scope, so the command just won't work in that case.