hook.textcommand

class immp.hook.textcommand.TextCommandHook(name, config, host, virtual=False)

Bases: Hook, DynamicCommands

Command provider to send configured text responses.

commands()

Provide additional commands dependent on state or config. Dynamic commands must be filled in using BaseCommand.complete() to provide their name and any fixed arguments.

Returns:

Set of available commands.

Return type:

.BoundCommand set