From 007b4d9319b2bacba8d1ca99246ab044e1f18a6e Mon Sep 17 00:00:00 2001 From: Etzelia Date: Sat, 8 Dec 2018 23:40:08 -0600 Subject: [PATCH] Remove "searching for..." message as results are returned too quickly to matter. --- api/bot.py | 1 - 1 file changed, 1 deletion(-) diff --git a/api/bot.py b/api/bot.py index b897e89..a9d7278 100644 --- a/api/bot.py +++ b/api/bot.py @@ -105,7 +105,6 @@ class Discord(discord.Client): match = re.match("[{0}](?:app )?(?:search|info) (\S+)?$".format(self.prefix), message.content) if match: search = match.group(1) - yield from self.discord_message(message.channel, "Searching for applications whose username contains '{0}'".format(search)) applications = Application.objects.filter(username__icontains=search)[:10] count = Application.objects.filter(username__icontains=search).count() if count > 0: