Make disconnections an important notice
This commit is contained in:
parent
8da7f1efbd
commit
76d0ead99f
@ -749,7 +749,10 @@ class User(DBUser, BaseUser):
|
||||
reason_suffix = "To reconnect, use the `sync` command."
|
||||
else:
|
||||
reason_suffix = "You are now logged out. To log back in, use the `login` command."
|
||||
await self.send_bridge_notice(f"Disconnected from KakaoTalk: {reason_str} {reason_suffix}")
|
||||
await self.send_bridge_notice(
|
||||
f"Disconnected from KakaoTalk: {reason_str} {reason_suffix}",
|
||||
important=True,
|
||||
)
|
||||
|
||||
async def on_error(self, error: JSON) -> None:
|
||||
await self.send_bridge_notice(
|
||||
|
Loading…
Reference in New Issue
Block a user