Bug Fixes, remove slow clap

This commit is contained in:
Daniel Odendahl Jr
2018-09-09 16:41:59 +00:00
parent 5fdc9c1853
commit 4cd7a4b06c
7 changed files with 12 additions and 29 deletions
+2 -3
View File
@@ -15,7 +15,7 @@ Xiao is a Discord bot coded in JavaScript with
The bot is no longer available for invite. You can self-host the bot, or use her
on the [home server](https://discord.gg/sbMe32W).
## Commands (305)
## Commands (304)
### Utility:
* **eval:** Executes JavaScript code.
@@ -98,7 +98,6 @@ on the [home server](https://discord.gg/sbMe32W).
* **its-joke:** It's joke!
* **just-do-it:** Sends a link to the "Just Do It!" motivational speech.
* **lenny:** Responds with the lenny face.
* **slow-clap:** _slow clap_
* **spam:** Responds with a picture of Spam.
* **tableflip:** Flips a table... With animation!
* **wynaut:** Why not? Wynaut?
@@ -131,6 +130,7 @@ on the [home server](https://discord.gg/sbMe32W).
* **github:** Responds with information on a GitHub repository.
* **google-autofill:** Responds with a list of the Google Autofill results for a particular query.
* **google-book:** Searches Google Books for a book.
* **google-map:** Responds with a map of a specific location.
* **google:** Searches Google for your query.
* **gravatar:** Responds with the Gravatar for an email.
* **http-cat:** Responds with a cat for an HTTP status code.
@@ -141,7 +141,6 @@ on the [home server](https://discord.gg/sbMe32W).
* **kh-wiki:** Searches the Kingdom Hearts Wiki for your query.
* **kickstarter:** Searches Kickstarter for your query.
* **league-of-legends-champion:** Responds with information on a League of Legends champion.
* **map:** Responds with a map of a specific location.
* **mdn:** Searches MDN for your query.
* **my-anime-list-anime:** Searches My Anime List for your query, getting anime results.
* **my-anime-list-manga:** Searches My Anime List for your query, getting manga results.
+3 -3
View File
@@ -45,7 +45,7 @@ module.exports = class NekoAtsumePasswordCommand extends Command {
.get(`http://hpmobile.jp/app/nekoatsume/neko_daily${locale === 'jp' ? '' : `_${locale}`}.php`);
const data = text.split(',');
const date = new Date();
date.setUTCHours(date.getUTCHours() + 9);
date.setUTCHours(9);
return {
password: data[1],
silver: data[2],
@@ -56,10 +56,10 @@ module.exports = class NekoAtsumePasswordCommand extends Command {
}
get goldFish() {
return GOLD_FISH_EMOJI_ID ? `<:gold_fish:${GOLD_FISH_EMOJI_ID}>` : 'Gold Fish';
return GOLD_FISH_EMOJI_ID ? `<:goldFish:${GOLD_FISH_EMOJI_ID}>` : 'Gold Fish';
}
get silverFish() {
return SILVER_FISH_EMOJI_ID ? `<:silver_fish:${SILVER_FISH_EMOJI_ID}>` : 'Silver Fish';
return SILVER_FISH_EMOJI_ID ? `<:silverFish:${SILVER_FISH_EMOJI_ID}>` : 'Silver Fish';
}
};
@@ -2,13 +2,13 @@ const Command = require('../../structures/Command');
const request = require('node-superfetch');
const { GOOGLE_KEY } = process.env;
module.exports = class MapCommand extends Command {
module.exports = class GoogleMapCommand extends Command {
constructor(client) {
super(client, {
name: 'map',
aliases: ['google-maps', 'google-map'],
name: 'google-map',
aliases: ['google-maps', 'map'],
group: 'search',
memberName: 'map',
memberName: 'google-map',
description: 'Responds with a map of a specific location.',
clientPermissions: ['ATTACH_FILES'],
args: [
+1 -1
View File
@@ -7,7 +7,7 @@ module.exports = class YoutubeCommand extends Command {
constructor(client) {
super(client, {
name: 'youtube',
aliases: ['youtube-video', 'y-tube', 'u-tube'],
aliases: ['youtube-video', 'y-tube', 'u-tube', 'yt'],
group: 'search',
memberName: 'youtube',
description: 'Searches YouTube for your query.',
-16
View File
@@ -1,16 +0,0 @@
const Command = require('../../structures/Command');
module.exports = class SlowClapCommand extends Command {
constructor(client) {
super(client, {
name: 'slow-clap',
group: 'single',
memberName: 'slow-clap',
description: '_slow clap_'
});
}
run(msg) {
return msg.say('_slow clap_');
}
};
+1 -1
View File
@@ -22,7 +22,7 @@ module.exports = class TableflipCommand extends Command {
async run(msg) {
const message = await msg.say('(\\\\°□°)\\\\ ┬─┬');
for (const frame of frames) {
await delay(200);
await delay(100);
await message.edit(frame);
}
return message;
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "xiao",
"version": "90.7.2",
"version": "91.0.0",
"description": "Your personal server companion.",
"main": "Xiao.js",
"scripts": {