Skip to content

Commit 7331327

Browse files
committed
Fixed voice channel config
1 parent a207e67 commit 7331327

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

plugins/voices.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ def __init__(self, bot: Gunibot):
1313
self.file = "voices"
1414
self.names = {'random': [], 'asterix': []}
1515
self.channels = dict()
16-
self.config_options = ['voice_channel', 'voice_channel_format', 'voice_roles']
16+
self.config_options = ['voice_channel', 'voice_channel_format', 'voice_roles', 'voice_category']
1717
self.db_get_channels()
1818

1919
def db_get_channels(self):
@@ -59,7 +59,7 @@ async def give_roles(self, member: discord.Member, remove=False):
5959
await member.remove_roles(*roles, reason="Left the voice chat")
6060
else:
6161
await member.add_roles(*roles, reason="In a voice chat")
62-
62+
6363
@commands.Cog.listener()
6464
async def on_guild_channel_delete(self, channel: discord.abc.GuildChannel):
6565
"""Deletes a voice channel in the database when deleted in Discord"""

0 commit comments

Comments
 (0)