mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Unflip Command
This commit is contained in:
@@ -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.
|
||||
|
||||
|
||||
@@ -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
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user