slidge.command.adhoc
#
Module Contents#
Classes#
A slixmpp-like plugin to handle adhoc commands, with less boilerplate and |
- class slidge.command.adhoc.AdhocProvider(xmpp)#
A slixmpp-like plugin to handle adhoc commands, with less boilerplate and untyped dict values than slixmpp.
- Parameters:
xmpp (slidge.core.gateway.base.BaseGateway) –
- register(command, jid=None)#
Register a command as a adhoc command.
this does not need to be called manually,
BaseGateway
takes care of that.- Parameters:
command (slidge.command.Command) –
jid (Optional[slixmpp.JID]) –
- Return type:
None