Bye to some useless stuff

This commit is contained in:
Daniel Odendahl Jr
2018-05-16 11:32:27 +00:00
parent fc3911d241
commit 97bc1feffc
8 changed files with 3 additions and 195 deletions
+1 -5
View File
@@ -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
information and support.
## Commands (308)
## Commands (304)
### Utility:
* **prefix**: Shows or sets the command prefix.
@@ -69,7 +69,6 @@ information and support.
* **fact**: Responds with a random fact.
* **fidget**: Responds with a random image of Fidget.
* **fortune**: Responds with a random fortune.
* **fruit**: Responds with a random fruit.
* **joke**: Responds with a random joke.
* **karen**: Responds with a random image of Karen.
* **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.
* **eat-pant**: Eat pant.
* **give-flower**: Gives Xiao Pai a flower.
* **hello-world**: Hello world.
* **hi**: Hello.
* **isnt-joke**: Isn't 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.
* **holidays**: Responds with today's holidays.
* **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.
* **time**: Responds with the current time in a particular location.
* **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.
* **final-grade-calculator**: Determines the grade you need to make on your final to get your desired course grade.
* **math**: Evaluates a math expression.
* **percentage**: Determines the percentage one number is of another.
* **roman-numeral**: Converts a number to roman numerals.
* **units**: Converts units to/from other units.
-104
View File
@@ -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"
]
-20
View File
@@ -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...');
}
};
-30
View File
@@ -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}.`);
}
};
+1 -1
View File
@@ -5,7 +5,7 @@ module.exports = class UnitsCommand extends Command {
constructor(client) {
super(client, {
name: 'units',
aliases: ['convert-units', 'unit-converter'],
aliases: ['convert-units', 'unit-converter', 'unit'],
group: 'number-edit',
memberName: 'units',
description: 'Converts units to/from other units.',
-17
View File
@@ -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)]);
}
};
-17
View File
@@ -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
View File
@@ -1,6 +1,6 @@
{
"name": "xiao",
"version": "75.1.3",
"version": "76.0.0",
"description": "Your personal server companion.",
"main": "Xiao.js",
"scripts": {