fix: typos in wordwar

This commit is contained in:
Nemo 2021-11-14 12:25:27 +01:00
parent 5106d3c637
commit aa96432be1
1 changed files with 5 additions and 5 deletions

View File

@ -85,7 +85,7 @@ module.exports = {
ongoingww.set(interaction.user.id, wwRole.name);
interaction.member.roles.add(wwRole.id);
commandReply = "Une wordwar a été initiée. Elle commencera dans " + wwdelay + " minutes et durera " + wwtimer + " minutes.";
commandReply = "la " + wwRole.name + " a été initiée. Elle commencera dans " + wwdelay + " minutes et durera " + wwtimer + " minutes.";
const row = new MessageActionRow()
.addComponents(
@ -114,13 +114,13 @@ module.exports = {
collectorParticipate.on('collect', async i => {
if (i.member.roles.cache.has(wwRole.id)) {
OnlyReply('Vous êtes déjà enregistré pour cette wordwar', i, wwRole);
OnlyReply('Vous êtes déjà enregistré.e pour cette wordwar', i, wwRole);
} else if (ongoingww.has(i.user.id)) {
OnlyReply('Vous êtes déjà enregistré dans la wordwar ' + ongoingww.get(i.user.id), i, wwRole);
OnlyReply('Vous êtes déjà enregistré.e dans la wordwar ' + ongoingww.get(i.user.id), i, wwRole);
} else {
i.member.roles.add(wwRole);
ongoingww.set(i.user.ida, wwRole);
OnlyReply('Participation est enregistrée', i, wwRole);
OnlyReply('Participation enregistrée', i, wwRole);
}
});
@ -134,7 +134,7 @@ module.exports = {
if (!i.member.roles.cache.has(wwRole.id)) {
OnlyReply('Vous n\'êtes pas enregistré pour cette wordwar', i, wwRole);
} else {
OnlyReply('Participation est annulée', i, wwRole);
OnlyReply('Participation annulée', i, wwRole);
i.member.roles.remove(wwRole);
ongoingww.delete(i.user.id);