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