瀏覽代碼

Update 'src/plugins/simple.py'

kirkleon 5 年之前
父節點
當前提交
6cf925a15a
共有 1 個文件被更改,包括 1 次插入1 次删除
  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"