This commit is contained in:
Matthieu Jolimaitre 2024-02-02 18:22:13 +01:00
parent fe2e22ba17
commit e90fa55862
2 changed files with 50 additions and 15 deletions

View file

@ -121,21 +121,25 @@ export class EpitlsBot {
function message_command_response_sending_email(email: string) {
const embed = new EmbedBuilder()
.setTitle("`🟡`| Verification")
.setDescription(`Sending a verification link to your email \`${email}\`.`);
.setTitle("`🟡`| Vérification")
.setDescription(`
Un lien de vérification a é envoyé par e-mail à \`${email}\`.
Le lien expirera dans 5 minutes.
**Il pourraît être arrivé dans \`Courrier indésirable\`.**
`.trim());
return { embeds: [embed] };
}
function message_command_response_error(msg: string) {
const embed = new EmbedBuilder()
.setTitle("`❌`| Verification")
.setDescription(`An error occured\n\`${msg}\``);
.setTitle("`❌`| Vérification")
.setDescription(`Échec de la vérification :\n\`${msg}\``);
return { embeds: [embed] };
}
function message_command_response_success() {
const embed = new EmbedBuilder()
.setTitle("`✅`| Verification")
.setDescription("Your email was associated with this account.");
.setTitle("`✅`| Vérification")
.setDescription("Votre e-mail CRI a bien été associé à ce compte Discord.");
return { embeds: [embed] };
}