diff options
Diffstat (limited to 'commands/Moderation/ban.js')
| -rw-r--r-- | commands/Moderation/ban.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/commands/Moderation/ban.js b/commands/Moderation/ban.js index dbc8fc6..5974c53 100644 --- a/commands/Moderation/ban.js +++ b/commands/Moderation/ban.js @@ -41,6 +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); + const logChannel = await bot.plugins.settings.getStr('logs', msg.guild.id); msg.guild.channels.find('id', logChannel).send({ embed }); } catch (err) { |
