- Main class is
SnoCord
. - A
Response
class is a structure for whenever a bot responds to a user message. - A
Command
class is a child ofResponse
and provides additional functionality including prefixes, command parsing, and permissions. - Commands can be added one-by-one with method calls.
- Additionally, a command handler functionality is included which loads all files from a given directory as commands - These ones would have to have a predetermined structure.
- Provide some default commands which can be optionally enabled, like the help command.
- SnoCord may use SnoDB to implement a persistent permission system.
- For this, a
Permissions
class may be used which is called from eachCommand
instance. - A
respond
method is to be implemented for use in commands which passes a message toclient.send()
whilst also providing rate limiting and logging.