fix (video): Don't pre-load with no channels.
This commit is contained in:
@@ -55,6 +55,7 @@ class video_channels(settings.ChannelList, settings.ListData, settings.Setting):
|
|||||||
for guild in client.guilds
|
for guild in client.guilds
|
||||||
if any(channel.members for channel in guild.voice_channels)
|
if any(channel.members for channel in guild.voice_channels)
|
||||||
]
|
]
|
||||||
|
if active_guildids:
|
||||||
rows = cls._table_interface.select_where(
|
rows = cls._table_interface.select_where(
|
||||||
guildid=active_guildids
|
guildid=active_guildids
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user