theneosloth / Bolas

An extensible Magic the Gathering card fetcher bot for discord
https://theneosloth.github.io/Bolas/
MIT License
5 stars 9 forks source link

Separate commands into separate files in a subdirectory #1

Closed theneosloth closed 5 years ago

theneosloth commented 7 years ago

Currently all the commands are located within a single file. This was working well for when there were only a few of them but as more and more of them get added managing the file gets a little bit unwieldy.

Because all the files inherited from the CommandPlugin class are imported automatically this should be trivial to do and it would improve the readability of the code immensely.

theneosloth commented 5 years ago

discord.py provides cogs that can be used for this

theneosloth commented 5 years ago

Complete in #24 . Will merge after some testing