mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-10 19:04:42 +02:00
Bug Fixes, remove slow clap
This commit is contained in:
@@ -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: [
|
||||
@@ -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.',
|
||||
|
||||
@@ -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_');
|
||||
}
|
||||
};
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user