diff options
Diffstat (limited to 'commands/Moderation/softban.js')
| -rw-r--r-- | commands/Moderation/softban.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/commands/Moderation/softban.js b/commands/Moderation/softban.js index 70cb1b3..2db58ec 100644 --- a/commands/Moderation/softban.js +++ b/commands/Moderation/softban.js @@ -41,6 +41,7 @@ exports.run = async (bot, msg, args) => { .addField('Moderator', msg.author.tag) .setTimestamp() .setFooter(`${msg.author.tag} softbanned ${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) { |
