Преглед изворни кода

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"