|
@ -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) |
|
|