def __init__(self, bot: Bot): self.bot = bot Plugin.set_cvar_once("qlx_discordUpdateTopicOnTriggeredChannels", "1") Plugin.set_cvar_once("qlx_discordKeepTopicSuffixChannelIds", "") Plugin.set_cvar_once("qlx_discordUpdateTopicInterval", "305") Plugin.set_cvar_once("qlx_discordKeptTopicSuffixes", "{}") self.discord_relay_channel_ids: set[int] = int_set( Plugin.get_cvar("qlx_discordRelayChannelIds", set)) self.discord_triggered_channel_ids: set[int] = int_set( Plugin.get_cvar("qlx_discordTriggeredChannelIds", set)) self.discord_update_triggered_channels_topic: bool = \ Plugin.get_cvar("qlx_discordUpdateTopicOnTriggeredChannels", bool) self.discord_topic_update_interval: int = Plugin.get_cvar( "qlx_discordUpdateTopicInterval", int) self.discord_keep_topic_suffix_channel_ids: set[int] = \ int_set(Plugin.get_cvar("qlx_discordKeepTopicSuffixChannelIds", set)) self.discord_kept_topic_suffixes: dict[int, str] = \ literal_eval(Plugin.get_cvar("qlx_discordKeptTopicSuffixes", str)) super().__init__()