commands.say package¶
Provides say command and say filter functionality.
- class commands.say.SayCommand(*args, **kwargs)[source]¶
Bases:
_BaseCommand
Decorator class used to register a say command.
- class commands.say.SayCommandDispatcher¶
Bases:
instance
- __init__()¶
Raises an exception This class cannot be instantiated from Python
- add_callback((SayCommandDispatcher)arg1, (object)callable) None : ¶
Adds a callback to the say command’s list.
- remove_callback((SayCommandDispatcher)arg1, (object)callable) None : ¶
Removes a callback from the say command’s list.
- class commands.say.SayFilter(*args, **kwargs)[source]¶
Bases:
_BaseFilter
Class used to register a say filter.
- commands.say.get_say_command((str)name) SayCommandDispatcher : ¶
Returns the SayCommandDispatcher instance for the given command
- commands.say.register_say_filter((object)callable) None : ¶
Registers a callable to be called when clients use the say commands (say, say_team).
- commands.say.unregister_say_filter((object)callable) None : ¶
Unregisters a say filter.
- commands.say.say_command_manager¶
The singleton object of the
_SayCommandManager
class.