résolution d'un bug, async manquant
This commit is contained in:
parent
b2a377916d
commit
e5c6c4b553
@ -8,7 +8,7 @@ module.exports = {
|
|||||||
await guild.fetchWelcomeScreen()
|
await guild.fetchWelcomeScreen()
|
||||||
.then(() => {
|
.then(() => {
|
||||||
const channel = this.welcomeChannels;
|
const channel = this.welcomeChannels;
|
||||||
channel.forEach(element => {
|
channel.forEach(async element => {
|
||||||
const nickname = memberNicknameMention(member.id);
|
const nickname = memberNicknameMention(member.id);
|
||||||
await interaction.reply('Bienvenue ' + nickname + ' ! Mets toi à l\'aise, il y a des bières dans le frigo.');
|
await interaction.reply('Bienvenue ' + nickname + ' ! Mets toi à l\'aise, il y a des bières dans le frigo.');
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user