[V3 Audio] More aggressive empty disconnect (#1925)

This commit is contained in:
aikaterna 2018-07-11 19:14:58 -07:00 committed by Kowlin
parent 6c1ee096a1
commit e701ec9617

View File

@ -1776,7 +1776,7 @@ class Audio:
if server.id not in stop_times: if server.id not in stop_times:
stop_times[server.id] = None 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: if stop_times[server.id] is None:
stop_times[server.id] = int(time.time()) stop_times[server.id] = int(time.time())