From e62e2c252fedb19d7acf5cf1c2efb53df85b9029 Mon Sep 17 00:00:00 2001 From: Dustin Pianalto Date: Thu, 3 May 2018 12:06:39 -0800 Subject: [PATCH] Added ISS Location command --- exts/utils.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/exts/utils.py b/exts/utils.py index f8baee4..cc463c1 100644 --- a/exts/utils.py +++ b/exts/utils.py @@ -549,8 +549,9 @@ class Utils: plt.text(x, y, ' ISS', fontsize=20, color='red') with BytesIO() as output: - plt.savefig(output, format='png', transparent=True) - output.seek(0) + async with ctx.typing(): + plt.savefig(output, format='png', transparent=True) + output.seek(0) await ctx.send(file=discord.File(output, 'output.png')) # TODO Create Help command