Remove "searching for..." message as results are returned too quickly to matter.

reminder
Etzelia 2018-12-08 23:40:08 -06:00
parent 111aa9eaa3
commit 007b4d9319
1 changed files with 0 additions and 1 deletions

View File

@ -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: