fix: modif des intitulés dans la wordwar

This commit is contained in:
Nemo 2021-11-14 02:35:47 +01:00
parent e18c9aa28d
commit 284e6e12a1
1 changed files with 2 additions and 2 deletions

View File

@ -159,12 +159,12 @@ module.exports = {
setTimeout(async () => {
if (wwRole.deleted != true) {
console.log(wwRole.name + ' launched');
var participantStart = '\nLa wordwar ' + wwRole.name + ' commence. Vous pouvez toujours la rejoindre si vous le désirez. Bonne chance à tou.te.s !! ' + roleMention(wwRole.id) + '\n';
var participantStart = '\nLa ' + wwRole.name + ' commence. Vous pouvez toujours la rejoindre si vous le désirez. Bonne chance à tou.te.s !! ' + roleMention(wwRole.id) + '\n';
publicReplies = await interaction.channel.send({ content: participantStart, fetchReply: true });
setTimeout(async () => {
if (wwRole.deleted != true) {
console.log(wwRole.name + ' ended');
var participantEnd = 'La wordwar ' + wwRole.name + ' est maintenant terminée, merci d\'y avoir participé \! ' + roleMention(wwRole.id) + '\n';
var participantEnd = 'La ' + wwRole.name + ' est maintenant terminée, merci d\'y avoir participé \! ' + roleMention(wwRole.id) + '\n';
await interaction.channel.send({ content: participantEnd, fetchReply: true });
ongoingww.forEach((value,key,ongoingww) => {
if (value == wwRole.name) {