mirror of https://gitlab.com/litecord/litecord.git
storage: fix GUILD_VOICE channel fetching
This commit is contained in:
parent
c33be64b79
commit
c4f2bb9be5
|
|
@ -286,8 +286,9 @@ class Storage:
|
||||||
}}
|
}}
|
||||||
|
|
||||||
if chan_type == ChannelType.GUILD_VOICE:
|
if chan_type == ChannelType.GUILD_VOICE:
|
||||||
vrow = await self.db.fetchval("""
|
vrow = await self.db.fetchrow("""
|
||||||
SELECT bitrate, user_limit FROM guild_voice_channels
|
SELECT bitrate, user_limit
|
||||||
|
FROM guild_voice_channels
|
||||||
WHERE id = $1
|
WHERE id = $1
|
||||||
""", row['id'])
|
""", row['id'])
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue