commands.config_commands module

async commands.config_commands.send_embed_response(interaction, embed, logo_file, ephemeral=True)[source]

Helper function to send embed response with optional file attachment

commands.config_commands.setup_config_commands(bot)[source]

Setup configuration-related commands

class commands.config_commands.ConfigView(bot, guild_id, guild_name, config)[source]

Bases: View

__init__(bot, guild_id, guild_name, config)[source]
get_config_status(config)[source]

Generate configuration status text

Return type:

str

async toggle_temperature(interaction, _button)[source]

Toggle temperature conversion event