RadBlueDawg / Squire-Discord-Bot

MIT License
0 stars 0 forks source link

Squire Crashes on Startup (Unexpected Keyword Argument) #12

Closed RadBlueDawg closed 4 years ago

RadBlueDawg commented 4 years ago

On startup, the function that creates the bot and sends it to the server (BOT.run(TOKEN)) gets the following exception: new() got an unexpected keyword argument 'deny_new'

I think this is related to Discord's recent updates to their bot API, but I thought that wasn't supposed to be enforced until October.

RadBlueDawg commented 4 years ago

The problem was with the Discord.py package. The version running on my server and development environment was behind the current version. Apparently, there were some changes that were incompatible with the older versions of the package.