Browse Source

i'm doing this

ivan 5 years ago
parent
commit
6b226eabd3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/plugins/teamspeak.py

+ 1 - 1
src/plugins/teamspeak.py

@@ -48,6 +48,6 @@ class ts(teamspeak):
     def on_command(self, db, message):
         r = super().on_command(db, message)
         if r.is_success:
-            shortNicks = nicks[:][0]
+            shortNicks = requests.get(TS3_QUERY).json()["users"][0]
             r.txt = "i c : " + ", ".join(shortNicks)
         return r