command.py Inherits Action - VikingsDev/Dentaku GitHub Wiki

command.py, The Command Class

All commands must inherit command.py. Inheriting command.py gives you these variables:

self.user_params

Parameters that the user passed in along with the command. Example: "!dog p1 p2 p3" user_params = ["p1", "p2", "p3"]

And all other variables from action.py