mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-23 19:44:20 +00:00
derp
This commit is contained in:
parent
2e62f0c70a
commit
a815f26aa6
1 changed files with 1 additions and 1 deletions
|
@ -508,7 +508,7 @@ def cmd_newevent(bot: Bot, update: Update):
|
|||
"[descrizione]```")
|
||||
return
|
||||
try:
|
||||
name, description = name_desc.split("\n", 2)
|
||||
name, description = name_desc.split("\n", 1)
|
||||
except IndexError:
|
||||
name = name_desc
|
||||
description = None
|
||||
|
|
Loading…
Reference in a new issue