Fix incorrect command name in help

This commit is contained in:
Andrew Ferrazzutti 2021-10-15 00:15:45 -04:00
parent e4702d9d3e
commit b6bf239e27

View File

@ -115,7 +115,7 @@ async def login_qr(evt: CommandEvent) -> None:
async def login_email(evt: CommandEvent) -> None: async def login_email(evt: CommandEvent) -> None:
await evt.az.intent.redact(evt.room_id, evt.event_id) await evt.az.intent.redact(evt.room_id, evt.event_id)
if len(evt.args) != 2: if len(evt.args) != 2:
await evt.reply("Usage: `$cmdprefix+sp login <email> <password>`") await evt.reply("Usage: `$cmdprefix+sp login-email <email> <password>`")
return return
if not await login_prep(evt, "email"): if not await login_prep(evt, "email"):
return return