Fix mentionable usage

This commit is contained in:
Joscha 2016-05-23 17:54:38 +02:00
parent 90e92ca2c8
commit 1e8fc2fb96

View file

@ -406,7 +406,7 @@ class Bot():
self.room.send_message("Bot could not be created.", parent=message.id) self.room.send_message("Bot could not be created.", parent=message.id)
else: else:
bot.created_in = self.roomname() bot.created_in = self.roomname()
bot.created_by = message.mentionable() bot.created_by = self.room.mentionable(message.sender.name)
self.room.send_message("Created @{} in &{}.".format(bot.mentionable(), room), self.room.send_message("Created @{} in &{}.".format(bot.mentionable(), room),
parent=message.id) parent=message.id)