Revert breaking change
This commit is contained in:
parent
4a2e115381
commit
a99a8af110
1 changed files with 1 additions and 1 deletions
|
|
@ -459,7 +459,7 @@ class Bot():
|
||||||
password = None
|
password = None
|
||||||
|
|
||||||
try:
|
try:
|
||||||
self.manager.create(room, password=password, created_in=self.roomname(),
|
bot = self.manager.create(room, password=password, created_in=self.roomname(),
|
||||||
created_by=message.sender.name)
|
created_by=message.sender.name)
|
||||||
except exceptions.CreateBotException:
|
except exceptions.CreateBotException:
|
||||||
self.room.send_message("Bot could not be cloned.", parent=message.id)
|
self.room.send_message("Bot could not be cloned.", parent=message.id)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue