Lots of changes

This commit is contained in:
dragonfire535
2017-10-07 11:18:08 -04:00
parent e81226dbd6
commit a006a8a8de
32 changed files with 68 additions and 53 deletions
+30
View File
@@ -0,0 +1,30 @@
const { Command } = require('discord.js-commando');
const { wait } = require('../../structures/Util');
const frames = [
'(-°□°)- ┬─┬',
'(╯°□°)╯ ]',
'(╯°□°)╯ ︵ ┻━┻',
'(╯°□°)╯ [',
'(╯°□°)╯ ┬─┬'
];
module.exports = class TableflipCommand extends Command {
constructor(client) {
super(client, {
name: 'tableflip',
aliases: ['a-tableflip', 'animated-tableflip', 'tableflip-animated', 'tableflip-a'],
group: 'other',
memberName: 'tableflip',
description: 'Flips a table... With animation!'
});
}
async run(msg) {
const message = await msg.say('(\\\\°□°)\\\\ ┬─┬');
for (const frame of frames) {
await wait(300);
await message.edit(frame);
}
return message;
}
};