소스 검색

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"