aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bot/cogs/bigbrother.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/bot/cogs/bigbrother.py b/bot/cogs/bigbrother.py
index 68ae4546b..f8bd4e0b5 100644
--- a/bot/cogs/bigbrother.py
+++ b/bot/cogs/bigbrother.py
@@ -246,7 +246,8 @@ class BigBrother:
if user.id in self.watched_users:
del self.watched_users[user.id]
- del self.channel_queues[user.id]
+ if user.id in self.channel_queues:
+ del self.channel_queues[user.id]
else:
log.warning(f"user {user.id} was unwatched but was not found in the cache")