Skip to content

split into multiple files? #6

Description

@lenscas

Currently battlebot.py is pretty large. Maybe we should give some things their own file?
I personally was thinking of moving the help dictionary to its own file(s) as it is currently spanning from line 1713 to 2062.
Some other candidates are

  • the various classes that we use. (They are classes, and some kind of big)
  • the getReply function (A lot less of a problem then some other things but also kind of big)
  • the fetching and writing to the database (Makes it easier to switch databases if we need/want to)
  • other things?

Should or shouldn't we do this? Also, if we do start to use multiple files are there other things that need their own file?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions