Forráskód Böngészése

Cleaning up some issues with the teamspeak plugins

Kirk Trombley 6 éve
szülő
commit
32fda937f5
1 módosított fájl, 3 hozzáadás és 6 törlés
  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)