diff --git a/auroraBot.py b/auroraBot.py index 57b1ff3..1713287 100644 --- a/auroraBot.py +++ b/auroraBot.py @@ -39,4 +39,16 @@ async def kp(ctx): await ctx.send(message) 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) \ No newline at end of file