mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-07 11:48:55 -05:00
[V3 Audio] More aggressive empty disconnect (#1925)
This commit is contained in:
parent
6c1ee096a1
commit
e701ec9617
@ -1776,7 +1776,7 @@ class Audio:
|
||||
if server.id not in stop_times:
|
||||
stop_times[server.id] = None
|
||||
|
||||
if p.current is None and [self.bot.user] == p.channel.members:
|
||||
if [self.bot.user] == p.channel.members:
|
||||
if stop_times[server.id] is None:
|
||||
stop_times[server.id] = int(time.time())
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user