aboutsummaryrefslogtreecommitdiff
path: root/commands/Moderation/softban.js
diff options
context:
space:
mode:
Diffstat (limited to 'commands/Moderation/softban.js')
-rw-r--r--commands/Moderation/softban.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/Moderation/softban.js b/commands/Moderation/softban.js
index e7768e5..70cb1b3 100644
--- a/commands/Moderation/softban.js
+++ b/commands/Moderation/softban.js
@@ -41,7 +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);
- msg.guild.channels.find('name', 'logs').send({ embed });
+ msg.guild.channels.find('id', logChannel).send({ embed });
}
catch (err) {
console.error(err.stack);