preserve order: finish bridge before command reply
This commit is contained in:
parent
69a01a0608
commit
9f717dc24f
1 changed files with 2 additions and 4 deletions
|
@ -159,10 +159,8 @@ module.exports = {
|
|||
const guild = client.guilds.get(channel.guild_id)
|
||||
if (!isGuildAllowed(guild.id)) return
|
||||
|
||||
await Promise.all([
|
||||
sendMessage.sendMessage(message, guild),
|
||||
discordCommandHandler.execute(message, channel, guild)
|
||||
])
|
||||
await sendMessage.sendMessage(message, guild),
|
||||
await discordCommandHandler.execute(message, channel, guild)
|
||||
},
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue