Browse Source

Update 'src/plugins/simple.py'

kirkleon 5 years ago
parent
commit
6cf925a15a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/plugins/simple.py

+ 1 - 1
src/plugins/simple.py

@@ -38,6 +38,6 @@ def console(message):
 
 @as_plugin
 def choice(message):
-    opts = list(message.args)
+    opts = list(message.args())
     chosen = random.choice(opts)
     return f"Randomly chose {chosen} from {len(opts)} options"