Skip to content

Context

Command execution context.

class Context()

Command execution context.

Passed to @bot.command() handlers with the triggering message, parsed arguments, and convenience methods for replying.

async def send(content: str) -> Message

Send a message to the same channel.

async def reply(content: str) -> Message

Reply to the triggering message (threaded).