Remove pre-retrieve status message from MCM bot actions
The results are fast enough that a status message is just spam.reminder
parent
007b4d9319
commit
80f2ad6de8
|
@ -77,9 +77,6 @@ class Discord(discord.Client):
|
||||||
if match.group(1) and match.group(2):
|
if match.group(1) and match.group(2):
|
||||||
action = match.group(1)[:1]
|
action = match.group(1)[:1]
|
||||||
action_display = "accept" if action == "a" else "deny" if action == "d" else ""
|
action_display = "accept" if action == "a" else "deny" if action == "d" else ""
|
||||||
yield from self.discord_message(message.channel, "{0} App ID **{1}**".format(
|
|
||||||
"Retrieving info for" if action == "i" else "{0}ing".format(action_display.capitalize()),
|
|
||||||
match.group(2)))
|
|
||||||
application = None
|
application = None
|
||||||
try:
|
try:
|
||||||
application = Application.objects.get(id=match.group(2))
|
application = Application.objects.get(id=match.group(2))
|
||||||
|
|
Loading…
Reference in New Issue