From ccc438c89e583bce9e8036c2e7671ad981a63240 Mon Sep 17 00:00:00 2001 From: Elnath Date: Tue, 29 Dec 2020 01:21:48 +0100 Subject: [PATCH] When listing channels, deleted channels are shown as well --- VocalMaisBot.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/VocalMaisBot.py b/VocalMaisBot.py index 8bf50b3..1ca983a 100755 --- a/VocalMaisBot.py +++ b/VocalMaisBot.py @@ -142,8 +142,7 @@ class VocalMaisBot(discord.Client): if channel is not None: # Does the channel still exist? answer_lines.append(f":eyes: {channel.name} ({channel_id})") else: - # We just ignore non-existing channels - pass + answer_lines.append(f":ninja: ({channel_id})") await message.channel.send(embed = discord.Embed(title = "I am watching the following channels", description = "\n".join(answer_lines))) else: await message.channel.send(f":see_no_evil: I am not watching any voice channel! Do not hesitate to add some by running `@{self.user.display_name} register channel_id`")