Browse Source

Logbot: disable join announce for now

master
Luke Murphy 5 years ago
parent
commit
56a6af156b
No known key found for this signature in database GPG Key ID: 5E2EF5A63E3718CC
  1. 3
      logbot/logbot.py

3
logbot/logbot.py

@ -50,8 +50,9 @@ class MUCBot(slixmpp.ClientXMPP):
# password=the_room_password,
wait=True)
# NOTE(luke): disabled for now. We'll make it possible to speak to logbot privately later
# Send a message to the room
self.send_message(mto=self.room, mbody='Hello! Logbot here. I\'m here to log all the images that are send to this group. You can also log text messages, by including @bot in your message. Happy logging! PS. you can access the logs at https://vvvvvvaria.org/logs/', mtype='groupchat')
# self.send_message(mto=self.room, mbody='Hello! Logbot here. I\'m here to log all the images that are send to this group. You can also log text messages, by including @bot in your message. Happy logging! PS. you can access the logs at https://vvvvvvaria.org/logs/', mtype='groupchat')
def muc_message(self, msg):
# Some inspection commands

Loading…
Cancel
Save