tBKwtWS 6 tahun lalu
induk
melakukan
7635ac2004
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      rotbot/commands/admin.py

+ 1 - 1
rotbot/commands/admin.py

@@ -265,7 +265,7 @@ def do_command(self, connection, event, user, channel):
                 if command.split(maxsplit=1)[0] == "act":
                 if command.split(maxsplit=1)[0] == "act":
                     connection.action(destination, message)
                     connection.action(destination, message)
                 else:
                 else:
-                    if message.startwith('.') or message.startswith('!'):
+                    if message.startswith('.') or message.startswith('!'):
                         connection.privmsg(replyto, 'I\'d rather not send commands on behalf of anonymous senders. This command is more intended to joke around with people')
                         connection.privmsg(replyto, 'I\'d rather not send commands on behalf of anonymous senders. This command is more intended to joke around with people')
                         connection.privmsg(reply, 'If there are complaints about your spamming your rights could be revoked.')
                         connection.privmsg(reply, 'If there are complaints about your spamming your rights could be revoked.')
                         return
                         return