diff options
| author | TheEdgeNK <32907415+TheEdgeNK@users.noreply.github.com> | 2018-03-11 22:17:35 -0400 |
|---|---|---|
| committer | TheEdgeNK <32907415+TheEdgeNK@users.noreply.github.com> | 2018-03-11 22:17:35 -0400 |
| commit | 04abe1ecfac0d42d54315e41c9c8f42173205725 (patch) | |
| tree | 3b12ad842e8d9991ee380fdefa25ee0f73217ddc /commands/Moderation/ban.js | |
| parent | aa8526d35c25d65c300b535a0bc4ef572335ee4f (diff) | |
| parent | 295b090c3f0254012005a09346873bf40fb34846 (diff) | |
| download | PokeBot-04abe1ecfac0d42d54315e41c9c8f42173205725.tar.gz PokeBot-04abe1ecfac0d42d54315e41c9c8f42173205725.tar.bz2 PokeBot-04abe1ecfac0d42d54315e41c9c8f42173205725.zip | |
Merge branch 'master' of https://github.com/PokeWorld/PokeBot
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) { |
