Added ISS Location command

This commit is contained in:
Dustin Pianalto 2018-05-03 12:06:39 -08:00
parent 3dde1eabd4
commit e62e2c252f

View File

@ -549,8 +549,9 @@ class Utils:
plt.text(x, y, ' ISS', fontsize=20, color='red') plt.text(x, y, ' ISS', fontsize=20, color='red')
with BytesIO() as output: with BytesIO() as output:
plt.savefig(output, format='png', transparent=True) async with ctx.typing():
output.seek(0) plt.savefig(output, format='png', transparent=True)
output.seek(0)
await ctx.send(file=discord.File(output, 'output.png')) await ctx.send(file=discord.File(output, 'output.png'))
# TODO Create Help command # TODO Create Help command