Browse Source

chat with yourself

master
Hendrik Langer 2 years ago
parent
commit
071aadace5
  1. 2
      matrix_pygmalion_bot/core.py

2
matrix_pygmalion_bot/core.py

@ -100,6 +100,8 @@ class Callbacks(object):
return return
self.bot.user_name = room.user_name(event.sender) self.bot.user_name = room.user_name(event.sender)
if self.bot.user_name == self.bot.name:
self.bot.user_name = "You"
if event.body.startswith('!replybot'): if event.body.startswith('!replybot'):
print(event) print(event)

Loading…
Cancel
Save