forked from missytake/team-bot
fix: display names can have spaces now. closes #6
This commit is contained in:
parent
2bd39b5fdc
commit
91205e7162
|
@ -65,7 +65,9 @@ class RelayPlugin:
|
|||
if arguments[0] == "/set_name":
|
||||
self.reply(
|
||||
message.chat,
|
||||
set_display_name(self.account, arguments[1]),
|
||||
set_display_name(
|
||||
self.account, message.text.split("/set_name ")[1]
|
||||
),
|
||||
quote=message,
|
||||
)
|
||||
if arguments[0] == "/set_avatar":
|
||||
|
|
Loading…
Reference in a new issue