Skip to content

Changelog

Mihai Stavila (stavilam) edited this page Nov 3, 2018 · 3 revisions

2018/11/03

Updated the code to be compatible with the newly released discord.py v1.0 lib (rewrite)

Converted all commands from @client.event to @client.command by making a class for each module and calling the commands into main.py using cogs.

This should make the bot faster and more responsive, and also allows the use of special command features overall improving the code, performance and memory usage.

Thanks to this, the change was worth it. I will be posting links for cogs documentation and tutorial in the README. You can find info about classes in the Think Python book provided by the university.

Clone this wiki locally