From e5c6c4b553e1e5d79c901322a2577447c7df7867 Mon Sep 17 00:00:00 2001 From: Nemo Date: Tue, 9 Nov 2021 17:33:18 +0100 Subject: [PATCH] =?UTF-8?q?r=C3=A9solution=20d'un=20bug,=20async=20manquan?= =?UTF-8?q?t?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- events/guildMemberAdd.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/events/guildMemberAdd.js b/events/guildMemberAdd.js index 95b7fc7..c654da0 100644 --- a/events/guildMemberAdd.js +++ b/events/guildMemberAdd.js @@ -8,7 +8,7 @@ module.exports = { await guild.fetchWelcomeScreen() .then(() => { const channel = this.welcomeChannels; - channel.forEach(element => { + channel.forEach(async element => { const nickname = memberNicknameMention(member.id); await interaction.reply('Bienvenue ' + nickname + ' ! Mets toi à l\'aise, il y a des bières dans le frigo.'); })