From dcc61f6546b0a120ebdb21eb2ccb409a024c1fce Mon Sep 17 00:00:00 2001 From: Dustin Pianalto Date: Thu, 3 May 2018 12:51:24 -0800 Subject: [PATCH] Add notifications to ISS image creation --- exts/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exts/utils.py b/exts/utils.py index b9964e8..0db7c1c 100644 --- a/exts/utils.py +++ b/exts/utils.py @@ -558,8 +558,8 @@ class Utils: msg = await ctx.send('Got location. Generating Image...') output = await self.bot.loop.run_in_executor(self.bot.tpe, gen_image, loc) await msg.edit(content='Image Created. Uploading to Discord...') - await msg.delete() await ctx.send('Current ISS Location', file=discord.File(output, 'output.png')) + await msg.delete() # TODO Create Help command