|
@@ -34,3 +34,10 @@ def console(message):
|
|
|
if argstr is not None:
|
|
|
opts.append("It'll be okay, {}! Keep trying!".format(argstr))
|
|
|
return random.choice(opts)
|
|
|
+
|
|
|
+
|
|
|
+@as_plugin
|
|
|
+def choice(message):
|
|
|
+ opts = list(message.args)
|
|
|
+ chosen = random.choice(opts)
|
|
|
+ return f"Randomly chose {chosen} from {len(opts)} options"
|