diff --git a/Shitpost.py b/Shitpost.py index 24723cc..3352015 100644 --- a/Shitpost.py +++ b/Shitpost.py @@ -134,21 +134,7 @@ class Shitpost(object): yield from ctx.channel.send(ctx.author.mention + ' Het is nu ' + datetime.now().strftime('%H:%M')) #Used by function weer() - weatherIconTranslation = { - "zonnig" : ":sun_with_face:", - "bliksem" : ":cloud_lightning:", - "regen" : ":cloud_rain:", - "buien" : ":umbrella:", - "hagel" : ":cloud_snow:", - "mist" : ":white_large_square:", - "sneeuw" : ":cloud_snow:", - "bewolkt" : ":white_sun_cloud:", - "halfbewolkt" : ":partly_sunny:", - "zwaarbewolkt" : ":cloud:", - "nachtmist" : ":ghost:", - "helderenacht" : ":first_quarter_moon_with_face:", - "wolkennacht" : ":cloud:" - } + @commands.command(pass_context=True, hidden=True) @asyncio.coroutine @@ -157,6 +143,21 @@ class Shitpost(object): Omdat je te lui bent om naar buiten te kijken. Oant Moarn! """ + weatherIconTranslation = { + "zonnig" : ":sun_with_face:", + "bliksem" : ":cloud_lightning:", + "regen" : ":cloud_rain:", + "buien" : ":umbrella:", + "hagel" : ":cloud_snow:", + "mist" : ":white_large_square:", + "sneeuw" : ":cloud_snow:", + "bewolkt" : ":white_sun_cloud:", + "halfbewolkt" : ":partly_sunny:", + "zwaarbewolkt" : ":cloud:", + "nachtmist" : ":ghost:", + "helderenacht" : ":first_quarter_moon_with_face:", + "wolkennacht" : ":cloud:" + } if(location == ""): location = "Leiden"