admin

Plugins for admins.

Todo

add an unload cog command.

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

Bases: Cog

Admin command cog.

Initialize cog.

__init__(bot: Bot) None[source]

Initialize cog.

async reload_all_cogs(ctx: Context) None[source]

Reload all cogs.

Parameters:

ctx – Context object.

async reload_single_cog(ctx: Context, cog: str, send_message: bool = True) str[source]

Reload a single cog.

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

Add cog to bot.

Parameters:

bot – Bot object.