commands.client package¶
Provides client command and client command filter functionality.
- class commands.client.ClientCommand(*args, **kwargs)[source]¶
Bases:
_BaseCommand
Decorator class used to register a client command.
- class commands.client.ClientCommandDispatcher¶
Bases:
instance
- __init__()¶
Raises an exception This class cannot be instantiated from Python
- add_callback((ClientCommandDispatcher)arg1, (object)callable) None : ¶
Adds a callback to the client command’s list.
- remove_callback((ClientCommandDispatcher)arg1, (object)callable) None : ¶
Removes a callback from the client command’s list.
- class commands.client.ClientCommandFilter(*args, **kwargs)[source]¶
Bases:
_BaseFilter
Class used to register a client command filter.
- commands.client.get_client_command((str)name) ClientCommandDispatcher : ¶
Returns the ClientCommandDispatcher instance for the given command
- commands.client.register_client_command_filter((object)callable) None : ¶
Registers a callable to be called when clients use commands.
- commands.client.unregister_client_command_filter((object)callable) None : ¶
Unregisters a client command filter.
- commands.client.client_command_manager¶
The singleton object of the
_ClientCommandManager
class.