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/warn.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/warn.js')
| -rw-r--r-- | commands/Moderation/warn.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/commands/Moderation/warn.js b/commands/Moderation/warn.js index fc965b7..816367d 100644 --- a/commands/Moderation/warn.js +++ b/commands/Moderation/warn.js @@ -40,6 +40,7 @@ exports.run = async (bot, msg, args) => { } const { RichEmbed } = require('discord.js'); + const logChannel = await bot.plugins.settings.getStr('logs', msg.guild.id); bot.channels.find('id', logChannel).send( new RichEmbed() .setColor(0x00ae86) |
