Compare commits
1 Commits
e05dfbcc5f
...
0cfc9b9986
| Author | SHA1 | Date | |
|---|---|---|---|
| 0cfc9b9986 |
@@ -88,7 +88,7 @@ class VoiceLogCog(LionCog):
|
|||||||
async def end_voice_session(self, member, channel, ended_at):
|
async def end_voice_session(self, member, channel, ended_at):
|
||||||
# Get the last open voice session to close it
|
# Get the last open voice session to close it
|
||||||
open_sessions = await VoiceLogSession.fetch_where(
|
open_sessions = await VoiceLogSession.fetch_where(
|
||||||
guildid=member.guild_id,
|
guildid=member.guild.id,
|
||||||
userid=member.id,
|
userid=member.id,
|
||||||
channelid=channel.id,
|
channelid=channel.id,
|
||||||
duration=None,
|
duration=None,
|
||||||
|
|||||||
Reference in New Issue
Block a user