Fix mentionable usage
This commit is contained in:
parent
90e92ca2c8
commit
1e8fc2fb96
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue