Quotes typen is moeilijk.
This commit is contained in:
+3
-3
@@ -699,14 +699,14 @@ class Shitpost(object):
|
|||||||
|
|
||||||
@commands.command(pass_context=True)
|
@commands.command(pass_context=True)
|
||||||
@asyncio.coroutine
|
@asyncio.coroutine
|
||||||
def review(self, ctx, topic=""):
|
def review(self, ctx, *args):
|
||||||
"""Stroop heeft (bijna) overal een mening over. Vraag het hem!
|
"""Stroop heeft (bijna) overal een mening over. Vraag het hem!
|
||||||
"""
|
"""
|
||||||
|
|
||||||
#NO_TOPIC = ["het", "'m"]
|
topic = " ".join(args)
|
||||||
|
|
||||||
if topic == "":
|
if topic == "":
|
||||||
random.seed(datetime.now())
|
random.seed(datetime.now())
|
||||||
#topic = random.choice(NO_TOPIC)
|
|
||||||
else:
|
else:
|
||||||
random.seed(topic.lower().replace(" ", ""))
|
random.seed(topic.lower().replace(" ", ""))
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user