feat: make the command more unique/descriptive

This commit is contained in:
silver 2024-03-02 21:45:43 +00:00
parent 4bd23e7638
commit 480fc9b1a0
3 changed files with 5 additions and 5 deletions

View file

@ -23,7 +23,7 @@ This is for the user side of things
### User is an active member on wolves
#### If they have never used the bot before or need to change their email:
* ``/link`` and enter their email that is in the Contact Email here: <https://ulwolves.ie/memberships/profile>
* ``/link_wolves`` and enter their email that is in the Contact Email here: <https://ulwolves.ie/memberships/profile>
* An email will be sent to them that they need to verify
* Once verified they will be given both roles

View file

@ -248,11 +248,11 @@ pub(crate) mod verify {
};
let db = db_lock.read().await;
// check if user has used /link
// check if user has used /link_wolves
let details = if let Some(x) = get_verify_from_db(&db, &command.user.id).await {
x
} else {
return "Please use /link first".to_string();
return "Please use /link_wolves first".to_string();
};
let option = command
@ -286,7 +286,7 @@ pub(crate) mod verify {
}
Err(e) => {
println!("{:?}", e);
"Failed to save, please try /link again".to_string()
"Failed to save, please try /link_wolves again".to_string()
}
};
}

View file

@ -77,7 +77,7 @@ impl EventHandler for Handler {
let content = match command.data.name.as_str() {
"add" => commands::add_server::run(&command, &ctx).await,
"link" => commands::link_email::link::run(&command, &ctx).await,
"link_wolves" => commands::link_email::link::run(&command, &ctx).await,
"verify" => commands::link_email::verify::run(&command, &ctx).await,
_ => "not implemented :(".to_string(),
};