Browse Source

wrong syntax

ivan 5 years ago
parent
commit
f32122ed35
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/plugins/simple.py

+ 2 - 2
src/plugins/simple.py

@@ -47,5 +47,5 @@ def inquire(message):
     opts = "Yes", "No", "Maybe", "Perhaps", "I guess", "Probably shouldn't", "rand"
     chosen = random.choice(opts)
     if chosen == "rand":
-        chosen = string(random.randrange(10))
-    return f"{chosen}"
+        chosen = str(random.randrange(10))
+    return chosen