Update help message

This commit is contained in:
2023-01-17 20:42:35 +01:00
parent c7d115f9ce
commit e35a978497
5 changed files with 57 additions and 107 deletions

View File

@@ -20,7 +20,6 @@ pub async fn message_handler(
let message_text = match result {
register::RegisterStatus::Success { ref username } => format_registered_message(&username),
register::RegisterStatus::NoToken => strings::HELP_MESSAGE.to_string(),
register::RegisterStatus::WrongToken => strings::ERROR_MESSAGE.to_string(),
register::RegisterStatus::RegisterFail => strings::ALREADY_REGISTERED.to_string(),
};