events

Plugins for events.

class src.byte.plugins.events.Events(*args: Any, **kwargs: Any)[source]

Bases: Cog

Events cog.

Initialize cog.

__init__(bot: Bot) None[source]

Initialize cog.

async on_thread_create(thread: Thread) None[source]

Handle thread create event.

Todo

parameterize the command prefix per guild, and the mention tag per guild.

Parameters:

thread (discord.Thread) – Thread that was created.

async src.byte.plugins.events.setup(bot: Bot) None[source]

Set up the Events cog.