|
@@ -96,9 +96,10 @@ DECK = {
|
|
|
|
|
|
@with_help("Get a tarot drawing. Include the argument 'hide' to hide explanations")
|
|
|
@as_plugin
|
|
|
-def tarot(hide: OptArg(0, conversion=lambda h: h == "hide", default=False)):
|
|
|
+def tarot(hide: OptArg(0, conversion=lambda h: h == "hide", default=False),
|
|
|
+ seven: OptArg(0, conversion=lambda s: s in ("7", "seven"), default=False)):
|
|
|
message = ""
|
|
|
- for (p1, p2) in random.sample(DECK.keys(), 3):
|
|
|
+ for (p1, p2) in random.sample(DECK.keys(), 7 if seven else 3):
|
|
|
message += f"{p1} "
|
|
|
if "." not in p1: # minor arcana
|
|
|
message += "of "
|