Decrease tableflip delay

This commit is contained in:
Daniel Odendahl Jr
2018-07-01 02:07:40 +00:00
parent 5abe92b220
commit 65c6631354
6 changed files with 10 additions and 10 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
const Command = require('../../structures/Command');
const { wait } = require('../../util/Util');
const { delay } = require('../../util/Util');
const frames = [
'(-°□°)- ┬─┬',
'(╯°□°)╯ ]',
@@ -22,7 +22,7 @@ module.exports = class TableflipCommand extends Command {
async run(msg) {
const message = await msg.say('(\\\\°□°)\\\\ ┬─┬');
for (const frame of frames) {
await wait(300);
await delay(200);
await message.edit(frame);
}
return message;