bugfix.. maybe?
This commit is contained in:
+9
-8
@@ -134,6 +134,15 @@ class Shitpost(object):
|
||||
yield from ctx.channel.send(ctx.author.mention + ' Het is nu ' + datetime.now().strftime('%H:%M'))
|
||||
|
||||
#Used by function weer()
|
||||
|
||||
|
||||
@commands.command(pass_context=True, hidden=True)
|
||||
@asyncio.coroutine
|
||||
def weer(self, ctx, location="Leiden"):
|
||||
"""Vertelt je het weer.
|
||||
Omdat je te lui bent om naar buiten te kijken.
|
||||
Oant Moarn!
|
||||
"""
|
||||
weatherIconTranslation = {
|
||||
"zonnig" : ":sun_with_face:",
|
||||
"bliksem" : ":cloud_lightning:",
|
||||
@@ -149,14 +158,6 @@ class Shitpost(object):
|
||||
"helderenacht" : ":first_quarter_moon_with_face:",
|
||||
"wolkennacht" : ":cloud:"
|
||||
}
|
||||
|
||||
@commands.command(pass_context=True, hidden=True)
|
||||
@asyncio.coroutine
|
||||
def weer(self, ctx, location="Leiden"):
|
||||
"""Vertelt je het weer.
|
||||
Omdat je te lui bent om naar buiten te kijken.
|
||||
Oant Moarn!
|
||||
"""
|
||||
if(location == ""):
|
||||
location = "Leiden"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user