textual plugin

class shellbot.plugins.textual.setup.Textual(config, credentials=None, **kwargs)

Implement the Textual plugin.

coroutine announce(ctx, *, content, destination=None)

Implement the announce command.

Parameters:
  • ctx (Context) – The command context.
  • content (str) – The content to send.
  • destination (str [optional]) – A valid channel ID.
Raise:

NotFound – Wrong mention.

coroutine goodbye(ctx, **kwargs)

Implement the goodbye command.

Parameters:ctx (Context) – The command context.
coroutine say(ctx, *, content)

Implement the say command.

Parameters:
  • ctx (Context) – The command context.
  • content (str) – The content to send.
coroutine welcome(ctx, **kwargs)

Implement the welcome command.

Parameters:ctx (Context) – The command context.

Helpers