mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-26 22:32:52 +02:00
no u
This commit is contained in:
@@ -45,7 +45,7 @@ Xiao is a Discord bot coded in JavaScript with
|
|||||||
6. Run `npm i -g pm2` to install PM2.
|
6. Run `npm i -g pm2` to install PM2.
|
||||||
7. Run `pm2 start Xiao.js --name xiao` to run the bot.
|
7. Run `pm2 start Xiao.js --name xiao` to run the bot.
|
||||||
|
|
||||||
## Commands (339)
|
## Commands (340)
|
||||||
### Utility:
|
### Utility:
|
||||||
|
|
||||||
* **eval:** Executes JavaScript code.
|
* **eval:** Executes JavaScript code.
|
||||||
@@ -134,6 +134,7 @@ Xiao is a Discord bot coded in JavaScript with
|
|||||||
* **its-joke:** It's joke!
|
* **its-joke:** It's joke!
|
||||||
* **just-do-it:** Sends a link to the "Just Do It!" motivational speech.
|
* **just-do-it:** Sends a link to the "Just Do It!" motivational speech.
|
||||||
* **lenny:** Responds with the lenny face.
|
* **lenny:** Responds with the lenny face.
|
||||||
|
* **no-u:** no u
|
||||||
* **spam:** Responds with a picture of Spam.
|
* **spam:** Responds with a picture of Spam.
|
||||||
* **tableflip:** Flips a table... With animation!
|
* **tableflip:** Flips a table... With animation!
|
||||||
* **wynaut:** Why not? Wynaut?
|
* **wynaut:** Why not? Wynaut?
|
||||||
|
|||||||
@@ -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');
|
||||||
|
}
|
||||||
|
};
|
||||||
@@ -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 <danielbodendahl@gmail.com>",
|
||||||
|
"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",
|
"name": "xiao",
|
||||||
"version": "102.1.1",
|
"version": "102.1.1",
|
||||||
|
|||||||
Reference in New Issue
Block a user