bot.exts.utilities.internal#
Internal utilites.
Module Contents#
Classes#
Administrator and Core Developer commands. |
Functions#
|
Load the Internal cog. |
Attributes#
- class bot.exts.utilities.internal.Internal(bot: bot.bot.Bot)[source]#
Bases:
discord.ext.commands.CogAdministrator and Core Developer commands.
- async on_socket_event_type(event_type: str) None[source]#
When a websocket event is received, increase our counters.
- _format(inp: str, out: Any) tuple[str, discord.Embed | None][source]#
Format the eval output into a string & attempt to format it into an Embed.
- async _eval(ctx: discord.ext.commands.Context, code: str) discord.Message | None[source]#
Eval the input code string & send an embed to the invoking context.
- async internal_group(ctx: discord.ext.commands.Context) None[source]#
Internal commands. Top secret!.
- async bot.exts.utilities.internal.setup(bot: bot.bot.Bot) None[source]#
Load the Internal cog.