-
Notifications
You must be signed in to change notification settings - Fork 9
Package: commandcenter
the commandcenter
package contains everything needed to use a commander
object. It also contains the commands
directory, which is where all the source code for all commands is stored.
This document provides a general overview of all of the packages within commandcenter
. Each package within commandcenter
has its own, more detailed page on the wiki.
The command
package contains the Command
class, which is the base class for all custom
commands.
To import (from outside of the commandcenter
package):
from commandcenter.command import Command
Read more about command
at its wiki page
The commander
package contains the Commander
class. This class manages the execution of custom command classes. It automatically detects all custom command classes in the commands directory. It also handles meta commands such as $info
and $help
.
To import (from outside of the commandcenter
package):
from commandcenter.commander import Commander
Read more about commander
at its wiki page
The commands
package contains all custom classes that inherit from Command
class. You should not need to import anything from this class anywhere outside of the commandcenter
package.
Read more about commands
at its wiki page
The eventpackage
package contains the EventPackage
class. This class is simply a data structure to hold information about room events.
Read more about eventpackage
at its wiki page