aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Shivansh-007 <[email protected]>2021-03-02 16:00:24 +0530
committerGravatar Shivansh-007 <[email protected]>2021-03-02 16:00:24 +0530
commit674838787fb1916dce98b50bae78159a54833c42 (patch)
tree0be5f6921501defb5c63d29f09ff742b8c5ac43f
parentFix Channel Check to use channel ids instead of channel objects, and skip cha... (diff)
Don't use sets
-rw-r--r--bot/bot.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/bot.py b/bot/bot.py
index 176422aa..e9750697 100644
--- a/bot/bot.py
+++ b/bot/bot.py
@@ -79,7 +79,7 @@ class Bot(commands.Bot):
log.info("Skipping Channels Check.")
return
- all_channels_ids = [channel.id for channel in set(self.get_all_channels())]
+ all_channels_ids = [channel.id for channel in self.get_all_channels()]
for name, channel_id in vars(constants.Channels).items():
if name.startswith('_'):
continue