Event Reference

slack.commands.on_command(ctx)

Called whenever a command was invoked.

Parameters

ctx (Context) – The sended context.

slack.commands.on_invoke(ctx)

An alias for on_command().

Parameters

ctx (Context) – The sended context.

slack.commands.on_command_error(ctx, err)

Called whenever error occured.

Parameters
  • ctx (Context) – The sended context.

  • err (Exception) – Raised exception from sended context.