Added ISS Location command
This commit is contained in:
parent
3dde1eabd4
commit
e62e2c252f
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user