Unflip Command

This commit is contained in:
Dragon Fire
2019-07-14 16:15:25 -04:00
parent 378c75907a
commit 97f886693f
3 changed files with 22 additions and 4 deletions
+2 -1
View File
@@ -53,7 +53,7 @@ Xiao is a Discord bot coded in JavaScript with
6. Run `npm i -g pm2` to install PM2.
7. Run `pm2 start Xiao.js --name xiao` to run the bot.
## Commands (341)
## Commands (342)
### Utility:
* **eval:** Executes JavaScript code.
@@ -149,6 +149,7 @@ Xiao is a Discord bot coded in JavaScript with
* **no-u:** no u
* **spam:** Responds with a picture of Spam.
* **tableflip:** Flips a table... With animation!
* **unflip:** Unflips a flipped table.
* **wynaut:** Why not? Wynaut?
* **yoff:** Posts a picture that truly defines modern art.
+17
View File
@@ -0,0 +1,17 @@
const Command = require('../../structures/Command');
module.exports = class UnflipCommand extends Command {
constructor(client) {
super(client, {
name: 'unflip',
group: 'single',
memberName: 'unflip',
description: 'Unflips a flipped table.',
patterns: [/\(╯°□°)╯︵ ┻━┻/i]
});
}
run(msg) {
return msg.say('┬─┬ ( ゜-゜ノ)');
}
};
+3 -3
View File
@@ -1,6 +1,6 @@
{
"name": "xiao",
"version": "107.0.2",
"version": "107.1.0",
"description": "Your personal server companion.",
"main": "Xiao.js",
"scripts": {
@@ -39,10 +39,10 @@
"discord.js-commando": "github:discordjs/Commando",
"dotenv": "^8.0.0",
"gifencoder": "^2.0.1",
"mathjs": "^6.0.2",
"mathjs": "^6.0.3",
"moment": "^2.24.0",
"moment-duration-format": "^2.3.2",
"moment-timezone": "^0.5.25",
"moment-timezone": "^0.5.26",
"node-superfetch": "^0.1.9",
"random-js": "^2.1.0",
"winston": "^3.2.1"