commands.say package

Provides say command and say filter functionality.

class commands.say.SayCommand(names, *args, **kwargs)[source]

Bases: commands.command._BaseCommand

Decorator class used to register a say command.

class commands.say.SayCommandDispatcher

Bases: Boost.Python.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.SayCommandGenerator

Bases: Boost.Python.instance

__init__((object)arg1) → None
class commands.say.SayFilter(callback)[source]

Bases: commands.filter._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.