Browse Source

find book on worldcat

master
lowrussia 6 years ago
parent
commit
4d7d3cf17c
  1. 2
      logbot.py

2
logbot.py

@ -55,7 +55,7 @@ class MUCBot(slixmpp.ClientXMPP):
def muc_message(self, msg): def muc_message(self, msg):
# Some inspection commands # Some inspection commands
print('Message: {}'.format(msg)) #print('Message: {}'.format(msg))
# Always check that a message is not the bot itself, otherwise you will create an infinite loop responding to your own messages. # Always check that a message is not the bot itself, otherwise you will create an infinite loop responding to your own messages.
if msg['mucnick'] != self.nick: if msg['mucnick'] != self.nick:

Loading…
Cancel
Save