find book on worldcat
This commit is contained in:
parent
48ddeba22c
commit
4d7d3cf17c
@ -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…
Reference in New Issue
Block a user