Quotes typen is moeilijk.

This commit is contained in:
JP
2019-12-05 20:20:53 +01:00
parent c48c581184
commit 481dcd5f06
+3 -3
View File
@@ -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(" ", ""))