|
@ -7,7 +7,7 @@ |
|
|
|
|
|
|
|
|
####################################################################################################### |
|
|
####################################################################################################### |
|
|
####################################################################################################### |
|
|
####################################################################################################### |
|
|
### You can write use this code by calling three different options in the chat: ### |
|
|
### You can use this code by calling three different options in the chat: ### |
|
|
### "@glossary-all word": adds the word "word" in the list ### |
|
|
### "@glossary-all word": adds the word "word" in the list ### |
|
|
### "@glossary-drift": returns a term from the list that was selected by chance ### |
|
|
### "@glossary-drift": returns a term from the list that was selected by chance ### |
|
|
### "@glossary-all": shows all terms in the list ### |
|
|
### "@glossary-all": shows all terms in the list ### |
|
@ -74,7 +74,7 @@ class MUCBot(slixmpp.ClientXMPP): |
|
|
|
|
|
|
|
|
# reply from the bot |
|
|
# reply from the bot |
|
|
self.send_message(mto=self.room, |
|
|
self.send_message(mto=self.room, |
|
|
mbody="new word (s) added! > language in motion < new poetics > scoring togetherness {}!".format(msg['mucnick']), |
|
|
mbody="new word(s) added - language in motion".format(msg['mucnick']), |
|
|
mtype='groupchat') |
|
|
mtype='groupchat') |
|
|
|
|
|
|
|
|
# Add message to log |
|
|
# Add message to log |
|
|