summaryrefslogtreecommitdiff
path: root/commands.py
diff options
context:
space:
mode:
Diffstat (limited to 'commands.py')
-rw-r--r--commands.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/commands.py b/commands.py
index c3ff09a..c10e67a 100644
--- a/commands.py
+++ b/commands.py
@@ -67,12 +67,13 @@ async def destroy(ctx: commands.Context):
await stop(ctx)
futures = []
meta_channel = ctx.bot.get_meta_channel(ctx)
- for channel in (ctx.bot.get_lobby_channel(ctx, meta_channel), meta_channel):
+ for channel in (ctx.bot.get_lobby_channel(ctx, meta_channel), ctx.bot.get_notify_channel(ctx, meta_channel), meta_channel):
if channel:
futures.append(channel.delete())
await await_n(futures)
ctx.bot.lobby_channel = None
ctx.bot.meta_channel = None
+ ctx.bot.notify_channel = None
ctx.bot.pair_channels = []