résolution d'un bug, async manquant

This commit is contained in:
Nemo 2021-11-09 17:33:18 +01:00
parent b2a377916d
commit e5c6c4b553
1 changed files with 1 additions and 1 deletions

View File

@ -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.');
})