Skip to content

Commit

Permalink
[V3 Audio] More aggressive empty disconnect (#1925)
Browse files Browse the repository at this point in the history
  • Loading branch information
aikaterna authored and Kowlin committed Jul 12, 2018
1 parent 6c1ee09 commit e701ec9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion redbot/cogs/audio/audio.py
Original file line number Diff line number Diff line change
Expand Up @@ -1776,7 +1776,7 @@ async def disconnect_timer(self):
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())

Expand Down

0 comments on commit e701ec9

Please sign in to comment.