aboutsummaryrefslogtreecommitdiff
path: root/commands/Moderation/softban.js
diff options
context:
space:
mode:
authorUnknown <jtsshieh@outlook.com>2018-03-11 20:37:36 -0400
committerUnknown <jtsshieh@outlook.com>2018-03-11 20:37:36 -0400
commit908bec2e72fec62c2d02d176192c057dccb82518 (patch)
tree9d89dfdb7eae872150e8d175ef1c22a27fcdc03e /commands/Moderation/softban.js
parent37e53964eb1a2177b0b80b22f87f7c3c49ff200e (diff)
downloadPokeBot-908bec2e72fec62c2d02d176192c057dccb82518.tar.gz
PokeBot-908bec2e72fec62c2d02d176192c057dccb82518.tar.bz2
PokeBot-908bec2e72fec62c2d02d176192c057dccb82518.zip
trey is dumb1.0.1
Diffstat (limited to 'commands/Moderation/softban.js')
-rw-r--r--commands/Moderation/softban.js1
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) {