diff options
| author | Unknown <jtsshieh@outlook.com> | 2018-03-11 20:37:36 -0400 |
|---|---|---|
| committer | Unknown <jtsshieh@outlook.com> | 2018-03-11 20:37:36 -0400 |
| commit | 908bec2e72fec62c2d02d176192c057dccb82518 (patch) | |
| tree | 9d89dfdb7eae872150e8d175ef1c22a27fcdc03e /commands/Moderation/warn.js | |
| parent | 37e53964eb1a2177b0b80b22f87f7c3c49ff200e (diff) | |
| download | PokeBot-908bec2e72fec62c2d02d176192c057dccb82518.tar.gz PokeBot-908bec2e72fec62c2d02d176192c057dccb82518.tar.bz2 PokeBot-908bec2e72fec62c2d02d176192c057dccb82518.zip | |
trey is dumb1.0.1
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) |
