timer, opinion, bug fixes

This commit is contained in:
Daniel Odendahl Jr
2018-03-02 23:00:36 +00:00
parent acf050b418
commit 4125027ad8
9 changed files with 73 additions and 21 deletions
+2 -1
View File
@@ -1,4 +1,5 @@
const { Command } = require('discord.js-commando');
const { MOCKING_EMOJI_ID } = process.env;
module.exports = class MockingCommand extends Command {
constructor(client) {
@@ -23,7 +24,7 @@ module.exports = class MockingCommand extends Command {
run(msg, { text }) {
for (let i = 0; i < text.length; i += Math.floor(Math.random() * 4)) text[i] = text[i].toUpperCase();
return msg.say(`${text.join('')} <:sponge:390141884070363138>`);
return msg.say(`${text.join('')} <:mocking:${MOCKING_EMOJI_ID}>`);
}
};