diff --git a/matrix_appservice_kakaotalk/commands/auth.py b/matrix_appservice_kakaotalk/commands/auth.py index 46bd005..e746f7d 100644 --- a/matrix_appservice_kakaotalk/commands/auth.py +++ b/matrix_appservice_kakaotalk/commands/auth.py @@ -277,7 +277,7 @@ async def _handle_login_failure(evt: CommandEvent, e: Exception) -> None: needs_auth=True, management_only=True, help_section=SECTION_AUTH, - help_text="Delete saved login password, if it was saved" + help_text="Delete saved login password, if it was saved", ) async def forget_password(evt: CommandEvent) -> None: creds = await LoginCredential.get_by_mxid(evt.sender.mxid) @@ -337,7 +337,8 @@ async def reset_device(evt: CommandEvent) -> None: @command_handler( needs_auth=False, help_section=SECTION_AUTH, - help_text="When logging in, automatically log out of any other existing KakaoTalk session" + help_text="When logging in, automatically log out of any other existing KakaoTalk session", + aliases=["enable-force-login"], ) async def enable_forced_login(evt: CommandEvent) -> None: if evt.sender.force_login: @@ -350,7 +351,8 @@ async def enable_forced_login(evt: CommandEvent) -> None: @command_handler( needs_auth=False, help_section=SECTION_AUTH, - help_text="When logging in, ask before logging out of another existing KakaoTalk session, if one exists" + help_text="When logging in, ask before logging out of another existing KakaoTalk session, if one exists", + aliases=["disable-force-login"], ) async def disable_forced_login(evt: CommandEvent) -> None: if not evt.sender.force_login: diff --git a/matrix_appservice_kakaotalk/commands/conn.py b/matrix_appservice_kakaotalk/commands/conn.py index 47996c9..257e5e0 100644 --- a/matrix_appservice_kakaotalk/commands/conn.py +++ b/matrix_appservice_kakaotalk/commands/conn.py @@ -76,6 +76,7 @@ async def ping(evt: CommandEvent) -> None: help_section=SECTION_CONNECTION, help_text="(Re)connect to KakaoTalk chats & sync any missed chat updates", help_args="[_number of channels to sync_]", + aliases=["connect"], ) async def sync(evt: CommandEvent) -> None: try: