Kardbord / Kard-bot

A Discord bot destined for greatness
GNU Affero General Public License v3.0
1 stars 0 forks source link

Reduce namespace pollution by using subpackages #42

Closed Kardbord closed 2 years ago

Kardbord commented 2 years ago

Title, basically. The kardbot package is chock full of variables, functions, and methods that are only used in a handful of places. Sub-packages would be a nice way to encapsulate helper variables, constants, functions, and config.

Kardbord commented 2 years ago

Can't be done without a major rewrite of the bot. Using sub packages results in dependency cycles.