add solar wind command
This commit is contained in:
parent
a1b6e94e20
commit
84d0447376
12
auroraBot.py
12
auroraBot.py
|
@ -39,4 +39,16 @@ async def kp(ctx):
|
||||||
await ctx.send(message)
|
await ctx.send(message)
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|
||||||
|
@bot.command(name='solarWind', help='Shows graph with solar wind and magnetic field info')
|
||||||
|
async def ASC(ctx):
|
||||||
|
num = random.randint(1,100000)
|
||||||
|
message = f'https://www.spaceweather.se/content/irf-kp.png?{num}'
|
||||||
|
if ctx.channel.id != ID:
|
||||||
|
await ctx.send(f"Please keep this stuff in <#{ID}>")
|
||||||
|
return
|
||||||
|
else:
|
||||||
|
await ctx.send(message)
|
||||||
|
return
|
||||||
|
|
||||||
bot.run(TOKEN)
|
bot.run(TOKEN)
|
Loading…
Reference in New Issue
Block a user