diff options
Diffstat (limited to 'commands/Moderation/ban.js')
| -rw-r--r-- | commands/Moderation/ban.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/Moderation/ban.js b/commands/Moderation/ban.js index 8c438e3..dbc8fc6 100644 --- a/commands/Moderation/ban.js +++ b/commands/Moderation/ban.js @@ -41,7 +41,7 @@ exports.run = async (bot, msg, args) => { .addField('Moderator', msg.author.tag) .setTimestamp() .setFooter(`${msg.author.tag} banned ${member.user.tag}`, msg.author.avatarURL); - msg.guild.channels.find('name', 'logs').send({ embed }); + msg.guild.channels.find('id', logChannel).send({ embed }); } catch (err) { console.error(err.stack); |
