bugfix.. maybe?
This commit is contained in:
+16
-15
@@ -134,21 +134,7 @@ class Shitpost(object):
|
|||||||
yield from ctx.channel.send(ctx.author.mention + ' Het is nu ' + datetime.now().strftime('%H:%M'))
|
yield from ctx.channel.send(ctx.author.mention + ' Het is nu ' + datetime.now().strftime('%H:%M'))
|
||||||
|
|
||||||
#Used by function weer()
|
#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)
|
@commands.command(pass_context=True, hidden=True)
|
||||||
@asyncio.coroutine
|
@asyncio.coroutine
|
||||||
@@ -157,6 +143,21 @@ class Shitpost(object):
|
|||||||
Omdat je te lui bent om naar buiten te kijken.
|
Omdat je te lui bent om naar buiten te kijken.
|
||||||
Oant Moarn!
|
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 == ""):
|
if(location == ""):
|
||||||
location = "Leiden"
|
location = "Leiden"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user