diff options
| author | TheEdgeNK <32907415+TheEdgeNK@users.noreply.github.com> | 2018-03-11 20:33:17 -0400 |
|---|---|---|
| committer | TheEdgeNK <32907415+TheEdgeNK@users.noreply.github.com> | 2018-03-11 20:33:17 -0400 |
| commit | 9056d09d3c397fc3a64f27cfae3ce06c6a758c16 (patch) | |
| tree | 028381a09b0e608f54cb161a8a4a4b5b1ae748c3 /commands/Moderation/warn.js | |
| parent | e3c5468b4748c879892ff520e20b7753d5c1ff0f (diff) | |
| download | PokeBot-9056d09d3c397fc3a64f27cfae3ce06c6a758c16.tar.gz PokeBot-9056d09d3c397fc3a64f27cfae3ce06c6a758c16.tar.bz2 PokeBot-9056d09d3c397fc3a64f27cfae3ce06c6a758c16.zip | |
1.0.1 fixes
Diffstat (limited to 'commands/Moderation/warn.js')
| -rw-r--r-- | commands/Moderation/warn.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/Moderation/warn.js b/commands/Moderation/warn.js index 76d8013..fc965b7 100644 --- a/commands/Moderation/warn.js +++ b/commands/Moderation/warn.js @@ -40,7 +40,7 @@ exports.run = async (bot, msg, args) => { } const { RichEmbed } = require('discord.js'); - bot.channels.find('name', 'logs').send( + bot.channels.find('id', logChannel).send( new RichEmbed() .setColor(0x00ae86) .setTitle(':warning: Warning') |
