fix(voice): Patch channel list and fix cache.
Accounts for stage channels in initialisation. Clears _sessions_ cache when refreshing guild. Restrict `untracked_channels` selector to exclude text.
This commit is contained in:
@@ -457,6 +457,9 @@ class VoiceTrackerConfigUI(ConfigUI):
|
||||
@select(
|
||||
cls=ChannelSelect,
|
||||
placeholder="UNTRACKED_CHANNELS_PLACEHOLDER",
|
||||
channel_types=[
|
||||
discord.enums.ChannelType.voice, discord.enums.ChannelType.stage_voice, discord.enums.ChannelType.category
|
||||
],
|
||||
min_values=0, max_values=25
|
||||
)
|
||||
async def untracked_channels_menu(self, selection: discord.Interaction, selected):
|
||||
|
||||
Reference in New Issue
Block a user