mirror of https://gitlab.com/litecord/litecord.git
pins: update system message error message
This commit is contained in:
parent
1b294c68a4
commit
83bf048604
|
|
@ -109,7 +109,7 @@ async def add_pin(channel_id, message_id):
|
||||||
)
|
)
|
||||||
|
|
||||||
if mtype in SYS_MESSAGES:
|
if mtype in SYS_MESSAGES:
|
||||||
raise SysMsgInvalidAction("Cannot execute action on a system message")
|
raise SysMsgInvalidAction("Cannot pin a system message")
|
||||||
|
|
||||||
await app.db.execute(
|
await app.db.execute(
|
||||||
"""
|
"""
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue