From a006a8a8ded72726fb1625148814153e19eceee3 Mon Sep 17 00:00:00 2001 From: dragonfire535 Date: Sat, 7 Oct 2017 11:18:08 -0400 Subject: [PATCH] Lots of changes --- XiaoBot.js | 57 +++++++++++-------- assets/json/whitelist.json | 4 ++ .../astronomy-picture-of-the-day.js | 2 +- commands/{random => other}/avatar.js | 2 +- commands/{random => other}/coolness.js | 2 +- commands/{random => other}/days-until.js | 2 +- commands/{search => other}/discriminator.js | 2 +- commands/{guild-info => other}/emoji-image.js | 2 +- commands/{random => other}/gender-guess.js | 2 +- commands/{random => other}/horoscope.js | 2 +- commands/{random => other}/lmgtfy.js | 2 +- commands/{random => other}/shorten-url.js | 2 +- commands/{random => other}/soundboard.js | 2 +- commands/{random => other}/spoopy-link.js | 2 +- commands/{random => other}/strawpoll.js | 2 +- commands/{random => other}/tableflip.js | 2 +- commands/{random => other}/word-of-the-day.js | 2 +- commands/{random => other}/xkcd.js | 2 +- commands/{random-img => random-res}/cat.js | 2 +- commands/{random-img => random-res}/dog.js | 2 +- commands/{random-img => random-res}/fidget.js | 2 +- commands/{random-img => random-res}/xiao.js | 2 +- .../{random-res => search}/new-york-times.js | 2 +- .../{random => single-res}/can-you-not.js | 2 +- .../dark-theme-light-theme.js | 2 +- commands/{random => single-res}/eat-pant.js | 2 +- .../{random => single-res}/give-flower.js | 2 +- commands/{random => single-res}/its-joke.js | 2 +- commands/{random => single-res}/lenny.js | 2 +- commands/{random => single-res}/slow-clap.js | 2 +- commands/{random => single-res}/spam.js | 2 +- package.json | 2 +- 32 files changed, 68 insertions(+), 53 deletions(-) create mode 100644 assets/json/whitelist.json rename commands/{random => other}/astronomy-picture-of-the-day.js (97%) rename commands/{random => other}/avatar.js (97%) rename commands/{random => other}/coolness.js (98%) rename commands/{random => other}/days-until.js (98%) rename commands/{search => other}/discriminator.js (98%) rename commands/{guild-info => other}/emoji-image.js (96%) rename commands/{random => other}/gender-guess.js (97%) rename commands/{random => other}/horoscope.js (98%) rename commands/{random => other}/lmgtfy.js (96%) rename commands/{random => other}/shorten-url.js (97%) rename commands/{random => other}/soundboard.js (98%) rename commands/{random => other}/spoopy-link.js (98%) rename commands/{random => other}/strawpoll.js (98%) rename commands/{random => other}/tableflip.js (97%) rename commands/{random => other}/word-of-the-day.js (97%) rename commands/{random => other}/xkcd.js (99%) rename commands/{random-img => random-res}/cat.js (96%) rename commands/{random-img => random-res}/dog.js (96%) rename commands/{random-img => random-res}/fidget.js (95%) rename commands/{random-img => random-res}/xiao.js (95%) rename commands/{random-res => search}/new-york-times.js (98%) rename commands/{random => single-res}/can-you-not.js (92%) rename commands/{random => single-res}/dark-theme-light-theme.js (95%) rename commands/{random => single-res}/eat-pant.js (93%) rename commands/{random => single-res}/give-flower.js (94%) rename commands/{random => single-res}/its-joke.js (93%) rename commands/{random => single-res}/lenny.js (92%) rename commands/{random => single-res}/slow-clap.js (92%) rename commands/{random => single-res}/spam.js (93%) diff --git a/XiaoBot.js b/XiaoBot.js index 187c359e..f8035655 100644 --- a/XiaoBot.js +++ b/XiaoBot.js @@ -12,24 +12,25 @@ const client = new CommandoClient({ messageSweepInterval: 120 }); const { postStats } = require('./structures/Util'); -const whitelist = ['110373943822540800', '264445053596991498']; +const { version } = require('./package'); +const whitelist = require('./assets/json/whitelist'); client.registry .registerDefaultTypes() .registerTypesIn(path.join(__dirname, 'types')) .registerGroups([ ['util', 'Utility'], - ['guild-info', 'Server Info'], + ['guild-info', 'Server Information'], ['moderation', 'Moderation'], ['random-res', 'Random Response'], - ['random-img', 'Random Image'], + ['single-res', 'Single Response'], ['image-edit', 'Image Manipulation'], ['avatar-edit', 'Avatar Manipulation'], ['text-edit', 'Text Manipulation'], ['num-edit', 'Number Manipulation'], ['search', 'Search'], ['games', 'Games'], - ['random', 'Random/Other'], + ['other', 'Other'], ['roleplay', 'Roleplay'] ]) .registerDefaultCommands({ @@ -42,24 +43,7 @@ client.registry client.on('ready', () => { console.log(`[READY] Shard ${client.shard.id} logged in as ${client.user.tag}! (${client.user.id})`); - client.setInterval(() => { - const activities = [ - `${COMMAND_PREFIX}help for commands`, - `Shard ${client.shard.id}`, - 'with dragonfire535', - client.options.invite, - `with ${client.registry.commands.size} commands`, - 'Rune Factory 4' - ]; - client.user.setActivity(activities[Math.floor(Math.random() * activities.length)]); - }, 60000); - for (const guild of client.guilds.values()) { - if (whitelist.includes(guild.id)) continue; - if (guild.members.filter(member => member.user.bot).size > 25) { - console.log(`[LEAVE] Leaving guild ${guild.name}. (${guild.id})`); - guild.leave().catch(err => console.error(`[LEAVE] Failed to leave guild ${guild.name}. (${guild.id}) ${err}`)); - } - } + client.setActivity(`${COMMAND_PREFIX}help for commands`); }); client.on('disconnect', event => { @@ -91,7 +75,18 @@ client.dispatcher.addInhibitor(msg => { return false; }); -client.login(TOKEN); +client.setInterval(() => { + const activities = [ + `${COMMAND_PREFIX}help for commands`, + `Shard ${client.shard.id}`, + 'with dragonfire535', + client.options.invite, + `with ${client.registry.commands.size} commands`, + `v${version}`, + 'Rune Factory 4' + ]; + client.user.setActivity(activities[Math.floor(Math.random() * activities.length)]); +}, 60000); client.setInterval(async () => { const guilds = await client.shard.fetchClientValues('guilds.size'); @@ -99,11 +94,27 @@ client.setInterval(async () => { postStats(count, client.user.id); }, 300000); +client.setInterval(async () => { + for (const guild of client.guilds.values()) { + if (whitelist.includes(guild.id)) continue; + if (guild.members.filter(member => member.user.bot).size > 25) { + try { + console.log(`[LEAVE] Leaving guild ${guild.name}. (${guild.id})`); + await guild.leave(); + } catch (err) { + console.error(`[LEAVE] Failed to leave guild ${guild.name}. (${guild.id}) ${err}`); + } + } + } +}, 900000); + client.setInterval(() => { console.log(`[RESTART] Shard ${client.shard.id} restarted!`); process.exit(0); }, 8.64e+7); +client.login(TOKEN); + process.on('unhandledRejection', err => { console.error('[FATAL] Unhandled Promise Rejection:', err); process.exit(1); diff --git a/assets/json/whitelist.json b/assets/json/whitelist.json new file mode 100644 index 00000000..7180b73b --- /dev/null +++ b/assets/json/whitelist.json @@ -0,0 +1,4 @@ +[ + "110373943822540800", + "264445053596991498" +] diff --git a/commands/random/astronomy-picture-of-the-day.js b/commands/other/astronomy-picture-of-the-day.js similarity index 97% rename from commands/random/astronomy-picture-of-the-day.js rename to commands/other/astronomy-picture-of-the-day.js index ff212862..24be9972 100644 --- a/commands/random/astronomy-picture-of-the-day.js +++ b/commands/other/astronomy-picture-of-the-day.js @@ -8,7 +8,7 @@ module.exports = class AstronomyPictureOfTheDayCommand extends Command { super(client, { name: 'astronomy-picture-of-the-day', aliases: ['nasa-apod', 'apod', 'nasa-astronomy-picture-of-the-day'], - group: 'random', + group: 'other', memberName: 'astronomy-picture-of-the-day', description: 'Responds with today\'s Astronomy Picture of the Day.', clientPermissions: ['ATTACH_FILES'] diff --git a/commands/random/avatar.js b/commands/other/avatar.js similarity index 97% rename from commands/random/avatar.js rename to commands/other/avatar.js index 8fdb5f31..cec57d95 100644 --- a/commands/random/avatar.js +++ b/commands/other/avatar.js @@ -5,7 +5,7 @@ module.exports = class AvatarCommand extends Command { super(client, { name: 'avatar', aliases: ['profile-picture', 'profile-pic'], - group: 'random', + group: 'other', memberName: 'avatar', description: 'Responds with a link to a user\'s avatar.', args: [ diff --git a/commands/random/coolness.js b/commands/other/coolness.js similarity index 98% rename from commands/random/coolness.js rename to commands/other/coolness.js index 38464895..7ff6f42b 100644 --- a/commands/random/coolness.js +++ b/commands/other/coolness.js @@ -4,7 +4,7 @@ module.exports = class CoolnessCommand extends Command { constructor(client) { super(client, { name: 'coolness', - group: 'random', + group: 'other', memberName: 'coolness', description: 'Determines your coolness.', args: [ diff --git a/commands/random/days-until.js b/commands/other/days-until.js similarity index 98% rename from commands/random/days-until.js rename to commands/other/days-until.js index bc5aad7e..28e87eb6 100644 --- a/commands/random/days-until.js +++ b/commands/other/days-until.js @@ -5,7 +5,7 @@ module.exports = class DaysUntilCommand extends Command { super(client, { name: 'days-until', aliases: ['days-until-christmas'], - group: 'random', + group: 'other', memberName: 'days-until', description: 'Responds with how many days until a certain date this year.', args: [ diff --git a/commands/search/discriminator.js b/commands/other/discriminator.js similarity index 98% rename from commands/search/discriminator.js rename to commands/other/discriminator.js index 574d6657..6e9c744c 100644 --- a/commands/search/discriminator.js +++ b/commands/other/discriminator.js @@ -6,7 +6,7 @@ module.exports = class DiscriminatorCommand extends Command { super(client, { name: 'discriminator', aliases: ['discrim', 'search-discrim', 'search-discriminator'], - group: 'search', + group: 'other', memberName: 'discriminator', description: 'Searches for other users with a certain discriminator.', clientPermissions: ['EMBED_LINKS'], diff --git a/commands/guild-info/emoji-image.js b/commands/other/emoji-image.js similarity index 96% rename from commands/guild-info/emoji-image.js rename to commands/other/emoji-image.js index f5044f10..fb22d3d3 100644 --- a/commands/guild-info/emoji-image.js +++ b/commands/other/emoji-image.js @@ -5,7 +5,7 @@ module.exports = class EmojiImageCommand extends Command { super(client, { name: 'emoji-image', aliases: ['bigify-emoji', 'emoji-url', 'big-emoji'], - group: 'guild-info', + group: 'other', memberName: 'emoji-image', description: 'Responds with an emoji\'s full-scale image.', guildOnly: true, diff --git a/commands/random/gender-guess.js b/commands/other/gender-guess.js similarity index 97% rename from commands/random/gender-guess.js rename to commands/other/gender-guess.js index 339403b5..a815ef84 100644 --- a/commands/random/gender-guess.js +++ b/commands/other/gender-guess.js @@ -6,7 +6,7 @@ module.exports = class GenderGuessCommand extends Command { super(client, { name: 'gender-guess', aliases: ['gender', 'guess-gender'], - group: 'random', + group: 'other', memberName: 'gender', description: 'Determines the gender of name.', args: [ diff --git a/commands/random/horoscope.js b/commands/other/horoscope.js similarity index 98% rename from commands/random/horoscope.js rename to commands/other/horoscope.js index b31a9b74..11040ae7 100644 --- a/commands/random/horoscope.js +++ b/commands/other/horoscope.js @@ -8,7 +8,7 @@ module.exports = class HoroscopeCommand extends Command { constructor(client) { super(client, { name: 'horoscope', - group: 'random', + group: 'other', memberName: 'horoscope', description: 'Responds with today\'s horoscope for a particular sign.', details: `**Signs:** ${signs.join(', ')}`, diff --git a/commands/random/lmgtfy.js b/commands/other/lmgtfy.js similarity index 96% rename from commands/random/lmgtfy.js rename to commands/other/lmgtfy.js index fae62c23..8de65746 100644 --- a/commands/random/lmgtfy.js +++ b/commands/other/lmgtfy.js @@ -5,7 +5,7 @@ module.exports = class LMGTFYCommand extends Command { super(client, { name: 'lmgtfy', aliases: ['let-me-google-that-for-you', 'google'], - group: 'random', + group: 'other', memberName: 'lmgtfy', description: 'Creates a LMGTFY link with the query you provide.', args: [ diff --git a/commands/random/shorten-url.js b/commands/other/shorten-url.js similarity index 97% rename from commands/random/shorten-url.js rename to commands/other/shorten-url.js index cc06ce24..4af06dbe 100644 --- a/commands/random/shorten-url.js +++ b/commands/other/shorten-url.js @@ -7,7 +7,7 @@ module.exports = class ShortenURLCommand extends Command { super(client, { name: 'shorten-url', aliases: ['short-url', 'url-shorten', 'url-short'], - group: 'random', + group: 'other', memberName: 'shorten-url', description: 'Creates a goo.gl short URL from another URL.', args: [ diff --git a/commands/random/soundboard.js b/commands/other/soundboard.js similarity index 98% rename from commands/random/soundboard.js rename to commands/other/soundboard.js index af1dcaaa..9d8dc1ce 100644 --- a/commands/random/soundboard.js +++ b/commands/other/soundboard.js @@ -8,7 +8,7 @@ module.exports = class SoundboardCommand extends Command { super(client, { name: 'soundboard', aliases: ['sound'], - group: 'random', + group: 'other', memberName: 'soundboard', description: 'Plays a sound in your voice channel.', details: `**Sounds:** ${sounds.join(', ')}`, diff --git a/commands/random/spoopy-link.js b/commands/other/spoopy-link.js similarity index 98% rename from commands/random/spoopy-link.js rename to commands/other/spoopy-link.js index 406c8bdd..e8d9aef7 100644 --- a/commands/random/spoopy-link.js +++ b/commands/other/spoopy-link.js @@ -6,7 +6,7 @@ module.exports = class SpoopyLinkCommand extends Command { constructor(client) { super(client, { name: 'spoopy-link', - group: 'random', + group: 'other', memberName: 'spoopy-link', description: 'Checks if a link is spoopy or not.', args: [ diff --git a/commands/random/strawpoll.js b/commands/other/strawpoll.js similarity index 98% rename from commands/random/strawpoll.js rename to commands/other/strawpoll.js index b9717b94..4a5b9bb9 100644 --- a/commands/random/strawpoll.js +++ b/commands/other/strawpoll.js @@ -7,7 +7,7 @@ module.exports = class StrawpollCommand extends Command { super(client, { name: 'strawpoll', aliases: ['poll'], - group: 'random', + group: 'other', memberName: 'strawpoll', description: 'Creates a Strawpoll from the options you provide.', args: [ diff --git a/commands/random/tableflip.js b/commands/other/tableflip.js similarity index 97% rename from commands/random/tableflip.js rename to commands/other/tableflip.js index a0532226..18103c19 100644 --- a/commands/random/tableflip.js +++ b/commands/other/tableflip.js @@ -13,7 +13,7 @@ module.exports = class TableflipCommand extends Command { super(client, { name: 'tableflip', aliases: ['a-tableflip', 'animated-tableflip', 'tableflip-animated', 'tableflip-a'], - group: 'random', + group: 'other', memberName: 'tableflip', description: 'Flips a table... With animation!' }); diff --git a/commands/random/word-of-the-day.js b/commands/other/word-of-the-day.js similarity index 97% rename from commands/random/word-of-the-day.js rename to commands/other/word-of-the-day.js index 999121d3..9598a87f 100644 --- a/commands/random/word-of-the-day.js +++ b/commands/other/word-of-the-day.js @@ -8,7 +8,7 @@ module.exports = class WordOfTheDayCommand extends Command { super(client, { name: 'word-of-the-day', aliases: ['wordnik-word-of-the-day'], - group: 'random', + group: 'other', memberName: 'word-of-the-day', description: 'Gets the word of the day.' }); diff --git a/commands/random/xkcd.js b/commands/other/xkcd.js similarity index 99% rename from commands/random/xkcd.js rename to commands/other/xkcd.js index 1d4af699..79da6bd7 100644 --- a/commands/random/xkcd.js +++ b/commands/other/xkcd.js @@ -7,7 +7,7 @@ module.exports = class XKCDCommand extends Command { super(client, { name: 'xkcd', aliases: ['kcd'], - group: 'random', + group: 'other', memberName: 'xkcd', description: 'Gets an XKCD Comic, optionally opting for today\'s or a specific number.', clientPermissions: ['EMBED_LINKS'], diff --git a/commands/random-img/cat.js b/commands/random-res/cat.js similarity index 96% rename from commands/random-img/cat.js rename to commands/random-res/cat.js index d7d288c2..8d24dd36 100644 --- a/commands/random-img/cat.js +++ b/commands/random-res/cat.js @@ -6,7 +6,7 @@ module.exports = class CatCommand extends Command { super(client, { name: 'cat', aliases: ['neko', 'kitty'], - group: 'random-img', + group: 'random-res', memberName: 'cat', description: 'Responds with a random cat image.', clientPermissions: ['ATTACH_FILES'] diff --git a/commands/random-img/dog.js b/commands/random-res/dog.js similarity index 96% rename from commands/random-img/dog.js rename to commands/random-res/dog.js index 22d5b67f..bd9cec66 100644 --- a/commands/random-img/dog.js +++ b/commands/random-res/dog.js @@ -6,7 +6,7 @@ module.exports = class DogCommand extends Command { super(client, { name: 'dog', aliases: ['puppy'], - group: 'random-img', + group: 'random-res', memberName: 'dog', description: 'Responds with a random dog image.', clientPermissions: ['ATTACH_FILES'] diff --git a/commands/random-img/fidget.js b/commands/random-res/fidget.js similarity index 95% rename from commands/random-img/fidget.js rename to commands/random-res/fidget.js index 5f71854d..06d58b87 100644 --- a/commands/random-img/fidget.js +++ b/commands/random-res/fidget.js @@ -6,7 +6,7 @@ module.exports = class FidgetCommand extends Command { super(client, { name: 'fidget', aliases: ['nimbat'], - group: 'random-img', + group: 'random-res', memberName: 'fidget', description: 'Responds with a random image of Fidget.', clientPermissions: ['ATTACH_FILES'] diff --git a/commands/random-img/xiao.js b/commands/random-res/xiao.js similarity index 95% rename from commands/random-img/xiao.js rename to commands/random-res/xiao.js index ca9bb02c..8006fcac 100644 --- a/commands/random-img/xiao.js +++ b/commands/random-res/xiao.js @@ -6,7 +6,7 @@ module.exports = class XiaoCommand extends Command { super(client, { name: 'xiao', aliases: ['xiao-pai', 'iao'], - group: 'random-img', + group: 'random-res', memberName: 'xiao', description: 'Responds with a random image of Xiao Pai.', clientPermissions: ['ATTACH_FILES'] diff --git a/commands/random-res/new-york-times.js b/commands/search/new-york-times.js similarity index 98% rename from commands/random-res/new-york-times.js rename to commands/search/new-york-times.js index 1fdb7b25..dc304043 100644 --- a/commands/random-res/new-york-times.js +++ b/commands/search/new-york-times.js @@ -8,7 +8,7 @@ module.exports = class NewYorkTimesCommand extends Command { super(client, { name: 'new-york-times', aliases: ['ny-times', 'new-york-times-article', 'ny-times-article'], - group: 'random-res', + group: 'search', memberName: 'new-york-times', description: 'Responds with an article from the New York Times.', clientPermissions: ['EMBED_LINKS'], diff --git a/commands/random/can-you-not.js b/commands/single-res/can-you-not.js similarity index 92% rename from commands/random/can-you-not.js rename to commands/single-res/can-you-not.js index 69ff6582..52827224 100644 --- a/commands/random/can-you-not.js +++ b/commands/single-res/can-you-not.js @@ -4,7 +4,7 @@ module.exports = class CanYouNotCommand extends Command { constructor(client) { super(client, { name: 'can-you-not', - group: 'random', + group: 'single-res', memberName: 'can-you-not', description: 'Can YOU not?' }); diff --git a/commands/random/dark-theme-light-theme.js b/commands/single-res/dark-theme-light-theme.js similarity index 95% rename from commands/random/dark-theme-light-theme.js rename to commands/single-res/dark-theme-light-theme.js index 6e647569..2b7c722b 100644 --- a/commands/random/dark-theme-light-theme.js +++ b/commands/single-res/dark-theme-light-theme.js @@ -5,7 +5,7 @@ module.exports = class DarkThemeLightThemeCommand extends Command { super(client, { name: 'dark-theme-light-theme', aliases: ['light-theme-dark-theme', 'dark-theme', 'light-theme'], - group: 'random', + group: 'single-res', memberName: 'dark-theme-light-theme', description: 'Determines whether you use dark or light theme.', clientPermissions: ['ATTACH_FILES'] diff --git a/commands/random/eat-pant.js b/commands/single-res/eat-pant.js similarity index 93% rename from commands/random/eat-pant.js rename to commands/single-res/eat-pant.js index 5b85d245..f6aae436 100644 --- a/commands/random/eat-pant.js +++ b/commands/single-res/eat-pant.js @@ -4,7 +4,7 @@ module.exports = class EatPantCommand extends Command { constructor(client) { super(client, { name: 'eat-pant', - group: 'random', + group: 'single-res', memberName: 'eat-pant', description: 'eat pant', clientPermissions: ['ATTACH_FILES'] diff --git a/commands/random/give-flower.js b/commands/single-res/give-flower.js similarity index 94% rename from commands/random/give-flower.js rename to commands/single-res/give-flower.js index 65988a88..d87758cd 100644 --- a/commands/random/give-flower.js +++ b/commands/single-res/give-flower.js @@ -4,7 +4,7 @@ module.exports = class GiveFlowerCommand extends Command { constructor(client) { super(client, { name: 'give-flower', - group: 'random', + group: 'single-res', memberName: 'give-flower', description: 'Gives Xiao Pai a flower.' }); diff --git a/commands/random/its-joke.js b/commands/single-res/its-joke.js similarity index 93% rename from commands/random/its-joke.js rename to commands/single-res/its-joke.js index 82e333ec..d0b1b846 100644 --- a/commands/random/its-joke.js +++ b/commands/single-res/its-joke.js @@ -4,7 +4,7 @@ module.exports = class ItsJokeCommand extends Command { constructor(client) { super(client, { name: 'its-joke', - group: 'random', + group: 'single-res', memberName: 'its-joke', description: 'It\'s joke!', clientPermissions: ['ATTACH_FILES'] diff --git a/commands/random/lenny.js b/commands/single-res/lenny.js similarity index 92% rename from commands/random/lenny.js rename to commands/single-res/lenny.js index 18428cd4..df171eb3 100644 --- a/commands/random/lenny.js +++ b/commands/single-res/lenny.js @@ -4,7 +4,7 @@ module.exports = class LennyCommand extends Command { constructor(client) { super(client, { name: 'lenny', - group: 'random', + group: 'single-res', memberName: 'lenny', description: 'Responds with the lenny face.' }); diff --git a/commands/random/slow-clap.js b/commands/single-res/slow-clap.js similarity index 92% rename from commands/random/slow-clap.js rename to commands/single-res/slow-clap.js index 89a6c554..65025dc7 100644 --- a/commands/random/slow-clap.js +++ b/commands/single-res/slow-clap.js @@ -4,7 +4,7 @@ module.exports = class SlowClapCommand extends Command { constructor(client) { super(client, { name: 'slow-clap', - group: 'random', + group: 'single-res', memberName: 'slow-clap', description: '_slow clap_' }); diff --git a/commands/random/spam.js b/commands/single-res/spam.js similarity index 93% rename from commands/random/spam.js rename to commands/single-res/spam.js index c94803eb..05ac619a 100644 --- a/commands/random/spam.js +++ b/commands/single-res/spam.js @@ -4,7 +4,7 @@ module.exports = class SpamCommand extends Command { constructor(client) { super(client, { name: 'spam', - group: 'random', + group: 'single-res', memberName: 'spam', description: 'Responds with a picture of Spam.', clientPermissions: ['ATTACH_FILES'] diff --git a/package.json b/package.json index 8bfecf5f..b0a6ea6b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "xiaobot", - "version": "45.0.0", + "version": "45.0.1", "description": "Your personal server companion.", "main": "Shard.js", "scripts": {