From 1afdc4a9cb01a6f7f330c35880f6182fec717e21 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Tue, 7 Jul 2020 13:51:44 -0400 Subject: [PATCH] Add more detailed copyright info --- README.md | 8 ++++++++ assets/json/copyright.json | 5 +++++ commands/util-public/info.js | 3 ++- package.json | 2 +- 4 files changed, 16 insertions(+), 2 deletions(-) create mode 100644 assets/json/copyright.json diff --git a/README.md b/README.md index 824010e2..68dba5b8 100644 --- a/README.md +++ b/README.md @@ -13,6 +13,7 @@ Xiao is a Discord bot coded in JavaScript with ## Table of Contents +- [Copyright](#copyright) - [Invite](#invite) - [Permissions](#permissions) - [Fun Information](#fun-information) @@ -55,7 +56,14 @@ Xiao is a Discord bot coded in JavaScript with - [Licensing](#licensing) - [Credit](#credit) +## Copyright + +- ©2017-2020 dragonfire535#8081 +- Xiao Pai/Rune Factory 4: ©2012 Marvelous Inc. +- Avatar Art: ©2018 airful + ## Invite + - [Home Server](https://discord.gg/mTr83zt) - [Invite](https://discordapp.com/api/oauth2/authorize?client_id=278305350804045834&permissions=104721601&scope=bot) diff --git a/assets/json/copyright.json b/assets/json/copyright.json new file mode 100644 index 00000000..1dfc7b63 --- /dev/null +++ b/assets/json/copyright.json @@ -0,0 +1,5 @@ +[ + "©2017-2020 dragonfire535#8081", + "Xiao Pai/Rune Factory 4: ©2012 Marvelous Inc.", + "Avatar Art: ©2018 airful" +] diff --git a/commands/util-public/info.js b/commands/util-public/info.js index edb754da..6d827dd3 100644 --- a/commands/util-public/info.js +++ b/commands/util-public/info.js @@ -6,6 +6,7 @@ require('moment-duration-format'); const { formatNumber, embedURL } = require('../../util/Util'); const { version, dependencies } = require('../../package'); const permissions = require('../../assets/json/permissions'); +const copyright = require('../../assets/json/copyright'); const { XIAO_GITHUB_REPO_USERNAME, XIAO_GITHUB_REPO_NAME } = process.env; const source = XIAO_GITHUB_REPO_NAME && XIAO_GITHUB_REPO_USERNAME; @@ -27,7 +28,7 @@ module.exports = class InfoCommand extends Command { const repoURL = `https://github.com/${XIAO_GITHUB_REPO_USERNAME}/${XIAO_GITHUB_REPO_NAME}`; const embed = new MessageEmbed() .setColor(0x00AE86) - .setFooter('©2017-2020 dragonfire535#8081') + .setFooter(copyright.join('\n')) .addField('❯ Servers', formatNumber(this.client.guilds.cache.size), true) .addField('❯ Commands', formatNumber(this.client.registry.commands.size), true) .addField('❯ Shards', formatNumber(this.client.options.shardCount), true) diff --git a/package.json b/package.json index f6cccae3..17b431fb 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "xiao", - "version": "119.12.0", + "version": "119.12.1", "description": "Your personal server companion.", "main": "Xiao.js", "scripts": {