Explorar o código

Update 'src/plugins/simple.py'

kirkleon %!s(int64=5) %!d(string=hai) anos
pai
achega
6cf925a15a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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"