瀏覽代碼

Cleaning up some issues with the teamspeak plugins

Kirk Trombley 6 年之前
父節點
當前提交
32fda937f5
共有 1 個文件被更改,包括 3 次插入6 次删除
  1. 3 6
      src/plugins/teamspeak.py

+ 3 - 6
src/plugins/teamspeak.py

@@ -11,9 +11,8 @@ TS3_LOGIN = ("login %s %s\n" % (_TS3_USER, _TS3_PASS)).encode("utf-8")
 
 
 class teamspeak(RollbotPlugin):
-    def __init__(self, command, logger=logging.getLogger(__name__)):
+    def __init__(self, logger=logging.getLogger(__name__)):
         RollbotPlugin.__init__(self, "teamspeak", logger)
-        self.logger.info(f"Intializing Teamspeak command")
 
     def on_command(self, db, message):
         try:
@@ -53,9 +52,8 @@ class teamspeak(RollbotPlugin):
 
 
 class speamteek(teamspeak):
-    def __init__(self, command, logger=logging.getLogger(__name__)):
+    def __init__(self, logger=logging.getLogger(__name__)):
         RollbotPlugin.__init__(self, "speamteek", logger)
-        self.logger.info(f"Intializing Speamteek command")
 
     def on_command(self, db, message):
         r = super().on_command(db, message)
@@ -65,9 +63,8 @@ class speamteek(teamspeak):
 
 
 class teamscream(teamspeak):
-    def __init__(self, command, logger=logging.getLogger(__name__)):
+    def __init__(self, logger=logging.getLogger(__name__)):
         RollbotPlugin.__init__(self, "teamscream", logger)
-        self.logger.info(f"Intializing Speamteek command")
 
     def on_command(self, db, message):
         r = super().on_command(db, message)