From e25dce4123acd7fc0f8ec1d6c94da1db354a59f7 Mon Sep 17 00:00:00 2001 From: Daniel Odendahl Jr Date: Thu, 4 Apr 2019 14:06:31 +0000 Subject: [PATCH] no u --- README.md | 3 +- commands/single/no-u.js | 18 ++++++++++++ package.json | 64 +++++++++++++++++++++++++++++++++++++++++ 3 files changed, 84 insertions(+), 1 deletion(-) create mode 100644 commands/single/no-u.js diff --git a/README.md b/README.md index c584d7c5..1eff33d8 100644 --- a/README.md +++ b/README.md @@ -45,7 +45,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 (339) +## Commands (340) ### Utility: * **eval:** Executes JavaScript code. @@ -134,6 +134,7 @@ Xiao is a Discord bot coded in JavaScript with * **its-joke:** It's joke! * **just-do-it:** Sends a link to the "Just Do It!" motivational speech. * **lenny:** Responds with the lenny face. +* **no-u:** no u * **spam:** Responds with a picture of Spam. * **tableflip:** Flips a table... With animation! * **wynaut:** Why not? Wynaut? diff --git a/commands/single/no-u.js b/commands/single/no-u.js new file mode 100644 index 00000000..defcb0e1 --- /dev/null +++ b/commands/single/no-u.js @@ -0,0 +1,18 @@ +const Command = require('../../structures/Command'); + +module.exports = class NoUCommand extends Command { + constructor(client) { + super(client, { + name: 'no-u', + aliases: ['no-you'], + group: 'single', + memberName: 'no-u', + description: 'no u', + patterns: [/no (you|u)/i] + }); + } + + run(msg) { + return msg.reply('no u'); + } +}; diff --git a/package.json b/package.json index 131a1f4c..836683b5 100644 --- a/package.json +++ b/package.json @@ -1,3 +1,67 @@ +{ + "name": "xiao", + "version": "102.2.0", + "description": "Your personal server companion.", + "main": "Xiao.js", + "scripts": { + "test": "npm run lint", + "lint": "eslint . --ext .js --ext .json", + "start": "node Xiao.js" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/dragonfire535/xiao.git" + }, + "keywords": [ + "bot", + "commando", + "discord", + "discord-api", + "discord-bot", + "discord-js", + "discord-js-commando" + ], + "author": "dragonfire535 ", + "license": "GPL-3.0", + "bugs": { + "url": "https://github.com/dragonfire535/xiao/issues" + }, + "homepage": "https://github.com/dragonfire535/xiao#readme", + "engines": { + "node": ">=10" + }, + "dependencies": { + "@discordjs/uws": "^11.149.1", + "canvas": "^2.4.1", + "cheerio": "^1.0.0-rc.2", + "common-tags": "^1.8.0", + "custom-translate": "^2.2.8", + "discord.js": "github:discordjs/discord.js", + "discord.js-commando": "github:discordjs/Commando", + "dotenv": "^7.0.0", + "erlpack": "github:discordapp/erlpack", + "mathjs": "^5.8.0", + "moment": "^2.24.0", + "moment-duration-format": "^2.2.2", + "moment-timezone": "^0.5.23", + "neopet-image-finder": "^5.0.2", + "node-superfetch": "^0.1.9", + "random-js": "^1.0.8", + "winston": "^3.2.1", + "zlib-sync": "^0.1.4" + }, + "devDependencies": { + "eslint": "^5.8.0", + "eslint-config-amber": "^2.0.0", + "eslint-plugin-json": "^1.2.1" + }, + "eslintConfig": { + "extends": "amber", + "plugins": [ + "json" + ] + } +} { "name": "xiao", "version": "102.1.1",