mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-13 15:58:06 +02:00
Bye to some useless stuff
This commit is contained in:
@@ -15,7 +15,7 @@ You can invite the bot to your server using
|
|||||||
Be sure to also join the [home server](https://discord.gg/sbMe32W) for
|
Be sure to also join the [home server](https://discord.gg/sbMe32W) for
|
||||||
information and support.
|
information and support.
|
||||||
|
|
||||||
## Commands (308)
|
## Commands (304)
|
||||||
### Utility:
|
### Utility:
|
||||||
|
|
||||||
* **prefix**: Shows or sets the command prefix.
|
* **prefix**: Shows or sets the command prefix.
|
||||||
@@ -69,7 +69,6 @@ information and support.
|
|||||||
* **fact**: Responds with a random fact.
|
* **fact**: Responds with a random fact.
|
||||||
* **fidget**: Responds with a random image of Fidget.
|
* **fidget**: Responds with a random image of Fidget.
|
||||||
* **fortune**: Responds with a random fortune.
|
* **fortune**: Responds with a random fortune.
|
||||||
* **fruit**: Responds with a random fruit.
|
|
||||||
* **joke**: Responds with a random joke.
|
* **joke**: Responds with a random joke.
|
||||||
* **karen**: Responds with a random image of Karen.
|
* **karen**: Responds with a random image of Karen.
|
||||||
* **kiss-marry-kill**: Determines who to kiss, who to marry, and who to kill.
|
* **kiss-marry-kill**: Determines who to kiss, who to marry, and who to kill.
|
||||||
@@ -99,7 +98,6 @@ information and support.
|
|||||||
* **dark-theme-light-theme**: Determines whether you use dark or light theme.
|
* **dark-theme-light-theme**: Determines whether you use dark or light theme.
|
||||||
* **eat-pant**: Eat pant.
|
* **eat-pant**: Eat pant.
|
||||||
* **give-flower**: Gives Xiao Pai a flower.
|
* **give-flower**: Gives Xiao Pai a flower.
|
||||||
* **hello-world**: Hello world.
|
|
||||||
* **hi**: Hello.
|
* **hi**: Hello.
|
||||||
* **isnt-joke**: Isn't joke...
|
* **isnt-joke**: Isn't joke...
|
||||||
* **its-joke**: It's joke!
|
* **its-joke**: It's joke!
|
||||||
@@ -118,7 +116,6 @@ information and support.
|
|||||||
* **google-doodle**: Responds with a Google Doodle, either the latest one or a random one from the past.
|
* **google-doodle**: Responds with a Google Doodle, either the latest one or a random one from the past.
|
||||||
* **holidays**: Responds with today's holidays.
|
* **holidays**: Responds with today's holidays.
|
||||||
* **horoscope**: Responds with today's horoscope for a specific Zodiac sign.
|
* **horoscope**: Responds with today's horoscope for a specific Zodiac sign.
|
||||||
* **is-it-christmas**: Responds with whether or not it's Christmas.
|
|
||||||
* **neko-atsume-password**: Responds with today's Neko Atsume password.
|
* **neko-atsume-password**: Responds with today's Neko Atsume password.
|
||||||
* **time**: Responds with the current time in a particular location.
|
* **time**: Responds with the current time in a particular location.
|
||||||
* **today-in-history**: Responds with an event that occurred today in history.
|
* **today-in-history**: Responds with an event that occurred today in history.
|
||||||
@@ -324,7 +321,6 @@ information and support.
|
|||||||
* **currency**: Converts money from one currency to another.
|
* **currency**: Converts money from one currency to another.
|
||||||
* **final-grade-calculator**: Determines the grade you need to make on your final to get your desired course grade.
|
* **final-grade-calculator**: Determines the grade you need to make on your final to get your desired course grade.
|
||||||
* **math**: Evaluates a math expression.
|
* **math**: Evaluates a math expression.
|
||||||
* **percentage**: Determines the percentage one number is of another.
|
|
||||||
* **roman-numeral**: Converts a number to roman numerals.
|
* **roman-numeral**: Converts a number to roman numerals.
|
||||||
* **units**: Converts units to/from other units.
|
* **units**: Converts units to/from other units.
|
||||||
|
|
||||||
|
|||||||
@@ -1,104 +0,0 @@
|
|||||||
[
|
|
||||||
"Apple",
|
|
||||||
"Apricot",
|
|
||||||
"Avacado",
|
|
||||||
"Banana",
|
|
||||||
"Bilberry",
|
|
||||||
"Blackberry",
|
|
||||||
"Blackcurrant",
|
|
||||||
"Blueberry",
|
|
||||||
"Boysenberry",
|
|
||||||
"Crab Apples",
|
|
||||||
"Currant",
|
|
||||||
"Cherry",
|
|
||||||
"Cherimoya",
|
|
||||||
"Chico Fruit",
|
|
||||||
"Cloudberry",
|
|
||||||
"Coconut",
|
|
||||||
"Cranberry",
|
|
||||||
"Cucumber",
|
|
||||||
"Custard apple",
|
|
||||||
"Damson",
|
|
||||||
"Date",
|
|
||||||
"Dragonfruit",
|
|
||||||
"Durian",
|
|
||||||
"Elderberry",
|
|
||||||
"Feijoa",
|
|
||||||
"Fig",
|
|
||||||
"Goji berry",
|
|
||||||
"Gooseberry",
|
|
||||||
"Grape",
|
|
||||||
"Raisin",
|
|
||||||
"Grapefruit",
|
|
||||||
"Guava",
|
|
||||||
"Honeyberry",
|
|
||||||
"Huckleberry",
|
|
||||||
"Jabuticaba",
|
|
||||||
"Jackfruit",
|
|
||||||
"Jambul",
|
|
||||||
"Jujube",
|
|
||||||
"Juniper berry",
|
|
||||||
"Kiwano",
|
|
||||||
"Kiwifruit",
|
|
||||||
"Kumquat",
|
|
||||||
"Lemon",
|
|
||||||
"Lime",
|
|
||||||
"Loquat",
|
|
||||||
"Longan",
|
|
||||||
"Lychee",
|
|
||||||
"Mango",
|
|
||||||
"Mangosteen",
|
|
||||||
"Marionberry",
|
|
||||||
"Melon",
|
|
||||||
"Cantaloupe",
|
|
||||||
"Honeydew",
|
|
||||||
"Watermelon",
|
|
||||||
"Miracle fruit",
|
|
||||||
"Mulberry",
|
|
||||||
"Nectarine",
|
|
||||||
"Nance",
|
|
||||||
"Olive",
|
|
||||||
"Orange",
|
|
||||||
"Blood orange",
|
|
||||||
"Clementine",
|
|
||||||
"Mandarine",
|
|
||||||
"Tangerine",
|
|
||||||
"Papaya",
|
|
||||||
"Passionfruit",
|
|
||||||
"Peach",
|
|
||||||
"Pear",
|
|
||||||
"Persimmon",
|
|
||||||
"Plantain",
|
|
||||||
"Plum",
|
|
||||||
"Prune (dried plum)",
|
|
||||||
"Pineapple",
|
|
||||||
"Plumcot (or Pluot)",
|
|
||||||
"Pomegranate",
|
|
||||||
"Pomelo",
|
|
||||||
"Purple mangosteen",
|
|
||||||
"Quince",
|
|
||||||
"Raspberry",
|
|
||||||
"Salmonberry",
|
|
||||||
"Rambutan",
|
|
||||||
"Redcurrant",
|
|
||||||
"Salal berry",
|
|
||||||
"Salak",
|
|
||||||
"Satsuma",
|
|
||||||
"Soursop",
|
|
||||||
"Star fruit",
|
|
||||||
"Solanum quitoense",
|
|
||||||
"Strawberry",
|
|
||||||
"Tamarillo",
|
|
||||||
"Tamarind",
|
|
||||||
"Ugli fruit",
|
|
||||||
"Yuzu",
|
|
||||||
"Chili Pepper",
|
|
||||||
"Corn Kernel",
|
|
||||||
"Eggplant",
|
|
||||||
"Pea",
|
|
||||||
"Squash",
|
|
||||||
"Sunflower Seed",
|
|
||||||
"Tomato",
|
|
||||||
"Pant",
|
|
||||||
"Delta's Mystery Fruit"
|
|
||||||
]
|
|
||||||
@@ -1,20 +0,0 @@
|
|||||||
const { Command } = require('discord.js-commando');
|
|
||||||
|
|
||||||
module.exports = class IsItChristmasCommand extends Command {
|
|
||||||
constructor(client) {
|
|
||||||
super(client, {
|
|
||||||
name: 'is-it-christmas',
|
|
||||||
group: 'events',
|
|
||||||
memberName: 'is-it-christmas',
|
|
||||||
description: 'Responds with whether or not it\'s Christmas.'
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
run(msg) {
|
|
||||||
const today = new Date();
|
|
||||||
if (today.getMonth() === 11 && today.getDate() === 25) {
|
|
||||||
return msg.reply('YES!!!', { files: ['https://i.imgur.com/B1fyMlc.jpg'] });
|
|
||||||
}
|
|
||||||
return msg.reply('No, not yet...');
|
|
||||||
}
|
|
||||||
};
|
|
||||||
@@ -1,30 +0,0 @@
|
|||||||
const { Command } = require('discord.js-commando');
|
|
||||||
|
|
||||||
module.exports = class PercentageCommand extends Command {
|
|
||||||
constructor(client) {
|
|
||||||
super(client, {
|
|
||||||
name: 'percentage',
|
|
||||||
aliases: ['percent'],
|
|
||||||
group: 'number-edit',
|
|
||||||
memberName: 'percentage',
|
|
||||||
description: 'Determines the percentage one number is of another.',
|
|
||||||
args: [
|
|
||||||
{
|
|
||||||
key: 'amount',
|
|
||||||
prompt: 'How much of the maximum value should be used?',
|
|
||||||
type: 'float'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
key: 'maximum',
|
|
||||||
prompt: 'What is the maximum value of the percentage?',
|
|
||||||
type: 'float'
|
|
||||||
}
|
|
||||||
]
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
run(msg, { amount, maximum }) {
|
|
||||||
const percentage = (amount / maximum) * 100;
|
|
||||||
return msg.say(`${amount} is ${percentage}% of ${maximum}.`);
|
|
||||||
}
|
|
||||||
};
|
|
||||||
@@ -5,7 +5,7 @@ module.exports = class UnitsCommand extends Command {
|
|||||||
constructor(client) {
|
constructor(client) {
|
||||||
super(client, {
|
super(client, {
|
||||||
name: 'units',
|
name: 'units',
|
||||||
aliases: ['convert-units', 'unit-converter'],
|
aliases: ['convert-units', 'unit-converter', 'unit'],
|
||||||
group: 'number-edit',
|
group: 'number-edit',
|
||||||
memberName: 'units',
|
memberName: 'units',
|
||||||
description: 'Converts units to/from other units.',
|
description: 'Converts units to/from other units.',
|
||||||
|
|||||||
@@ -1,17 +0,0 @@
|
|||||||
const { Command } = require('discord.js-commando');
|
|
||||||
const fruits = require('../../assets/json/fruit');
|
|
||||||
|
|
||||||
module.exports = class FruitCommand extends Command {
|
|
||||||
constructor(client) {
|
|
||||||
super(client, {
|
|
||||||
name: 'fruit',
|
|
||||||
group: 'random',
|
|
||||||
memberName: 'fruit',
|
|
||||||
description: 'Responds with a random fruit.'
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
run(msg) {
|
|
||||||
return msg.say(fruits[Math.floor(Math.random() * fruits.length)]);
|
|
||||||
}
|
|
||||||
};
|
|
||||||
@@ -1,17 +0,0 @@
|
|||||||
const { Command } = require('discord.js-commando');
|
|
||||||
|
|
||||||
module.exports = class HelloWorldCommand extends Command {
|
|
||||||
constructor(client) {
|
|
||||||
super(client, {
|
|
||||||
name: 'hello-world',
|
|
||||||
aliases: ['hola-mundo'],
|
|
||||||
group: 'single',
|
|
||||||
memberName: 'hello-world',
|
|
||||||
description: 'Hello world.'
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
run(msg) {
|
|
||||||
return msg.say('Hello World!');
|
|
||||||
}
|
|
||||||
};
|
|
||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "xiao",
|
"name": "xiao",
|
||||||
"version": "75.1.3",
|
"version": "76.0.0",
|
||||||
"description": "Your personal server companion.",
|
"description": "Your personal server companion.",
|
||||||
"main": "Xiao.js",
|
"main": "Xiao.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
Reference in New Issue
Block a user