From e651490a3415f99ad6e1534fd2bb4e21815e8825 Mon Sep 17 00:00:00 2001 From: Ave Ozkal Date: Wed, 23 Jan 2019 00:11:32 +0300 Subject: [PATCH] verification: Add a sleep after footer messages too those get sent in incorrect order from time to time --- cogs/verification.py | 1 + config_template.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/cogs/verification.py b/cogs/verification.py index 2bec937..17aa8d2 100644 --- a/cogs/verification.py +++ b/cogs/verification.py @@ -149,6 +149,7 @@ class Verification: for x in welcome_footer: await ctx.send(cleandoc(x)) + await asyncio.sleep(1) async def process_message(self, message): """Big code that makes me want to shoot myself diff --git a/config_template.py b/config_template.py index b9e0d73..8ac28fd 100644 --- a/config_template.py +++ b/config_template.py @@ -38,7 +38,7 @@ staff_role_ids = [526384077679624192, # Team role in NotSwitched log_channel = 526377735908491284 # Log channel in NotSwitched botlog_channel = 529070401704296460 # Botlog channel in NotSwitched -welcome_channel = 526372470752673792 # rules-info channel in NotSwitched +welcome_channel = 526372470752673792 # newcomers channel in NotSwitched community_channels = [526378423468425236] # Channels requiring community role general_channels = [526372255052201995] # Channels everyone can access