Browse Source

chat with yourself2

master
Hendrik Langer 2 years ago
parent
commit
783b539033
  1. 2
      matrix_pygmalion_bot/core.py

2
matrix_pygmalion_bot/core.py

@ -100,7 +100,7 @@ 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: if self.bot.user_name.casefold() == self.bot.name.casefold():
self.bot.user_name = "You" self.bot.user_name = "You"
if event.body.startswith('!replybot'): if event.body.startswith('!replybot'):

Loading…
Cancel
Save