bundle.discord.bot¶
Core Discord bot implementation.
Attributes¶
Classes¶
Functions¶
|
Convert a display name into a Discord-safe text channel name. |
|
Create and run the Discord bot. |
Module Contents¶
- bundle.discord.bot.log¶
- bundle.discord.bot.DEFAULT_BOT_NAME = 'Bundle Bot'¶
- bundle.discord.bot.to_discord_channel_name(value: str) str¶
Convert a display name into a Discord-safe text channel name.
- class bundle.discord.bot.BotConfig(/, **data: Any)¶
Bases:
bundle.core.data.DataConfiguration for the Discord bot.
- class bundle.discord.bot.Bot(config: BotConfig)¶
Bases:
discord.ext.commands.BotTheBundle Discord bot.
- config¶
- property embeds: bundle.discord.embeds.EmbedFactory¶
Embed factory pre-configured with the bot’s brand identity.
- async bot_channel(guild: discord.Guild) discord.TextChannel¶
Get or create the dedicated bot channel for a guild.