Quotes typen is moeilijk.
This commit is contained in:
+4
-4
@@ -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(" ", ""))
|
||||
|
||||
@@ -732,7 +732,7 @@ class Shitpost(object):
|
||||
#todo: long review
|
||||
EMOJI = [
|
||||
":watermelon:", ":middle_finger:", ":poop:", ":banana:", ":eggplant:", ":red_car:", ":gem:",
|
||||
":heart:", ":flag_nl: ", ":cow:", ":dolphin:", ":four_leaf_clover:", ":basketball:", ":thumbsup:"
|
||||
":heart:", ":flag_nl: ", ":cow:", ":dolphin:", ":four_leaf_clover:", ":basketball: ", ":thumbsup:"
|
||||
]
|
||||
|
||||
message = random.choice(REVIEW_START) + " "
|
||||
|
||||
Reference in New Issue
Block a user