Add missing return on "whoami" error
This commit is contained in:
parent
f47bcd3f0c
commit
d0dc921fd4
|
@ -65,6 +65,7 @@ async def whoami(evt: CommandEvent) -> None:
|
|||
own_info = None
|
||||
except CommandException as e:
|
||||
await evt.reply(f"Error from KakaoTalk: {e}")
|
||||
return
|
||||
if own_info:
|
||||
await evt.reply(
|
||||
f"You're logged in as `{own_info.more.uuid}` (nickname: {own_info.more.nickName}, user ID: {evt.sender.ktid})."
|
||||
|
|
Loading…
Reference in New Issue