mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-17 16:19:12 +02:00
Add more detailed copyright info
This commit is contained in:
@@ -13,6 +13,7 @@ Xiao is a Discord bot coded in JavaScript with
|
|||||||
|
|
||||||
## Table of Contents
|
## Table of Contents
|
||||||
|
|
||||||
|
- [Copyright](#copyright)
|
||||||
- [Invite](#invite)
|
- [Invite](#invite)
|
||||||
- [Permissions](#permissions)
|
- [Permissions](#permissions)
|
||||||
- [Fun Information](#fun-information)
|
- [Fun Information](#fun-information)
|
||||||
@@ -55,7 +56,14 @@ Xiao is a Discord bot coded in JavaScript with
|
|||||||
- [Licensing](#licensing)
|
- [Licensing](#licensing)
|
||||||
- [Credit](#credit)
|
- [Credit](#credit)
|
||||||
|
|
||||||
|
## Copyright
|
||||||
|
|
||||||
|
- ©2017-2020 dragonfire535#8081
|
||||||
|
- Xiao Pai/Rune Factory 4: ©2012 Marvelous Inc.
|
||||||
|
- Avatar Art: ©2018 airful
|
||||||
|
|
||||||
## Invite
|
## Invite
|
||||||
|
|
||||||
- [Home Server](https://discord.gg/mTr83zt)
|
- [Home Server](https://discord.gg/mTr83zt)
|
||||||
- [Invite](https://discordapp.com/api/oauth2/authorize?client_id=278305350804045834&permissions=104721601&scope=bot)
|
- [Invite](https://discordapp.com/api/oauth2/authorize?client_id=278305350804045834&permissions=104721601&scope=bot)
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,5 @@
|
|||||||
|
[
|
||||||
|
"©2017-2020 dragonfire535#8081",
|
||||||
|
"Xiao Pai/Rune Factory 4: ©2012 Marvelous Inc.",
|
||||||
|
"Avatar Art: ©2018 airful"
|
||||||
|
]
|
||||||
@@ -6,6 +6,7 @@ require('moment-duration-format');
|
|||||||
const { formatNumber, embedURL } = require('../../util/Util');
|
const { formatNumber, embedURL } = require('../../util/Util');
|
||||||
const { version, dependencies } = require('../../package');
|
const { version, dependencies } = require('../../package');
|
||||||
const permissions = require('../../assets/json/permissions');
|
const permissions = require('../../assets/json/permissions');
|
||||||
|
const copyright = require('../../assets/json/copyright');
|
||||||
const { XIAO_GITHUB_REPO_USERNAME, XIAO_GITHUB_REPO_NAME } = process.env;
|
const { XIAO_GITHUB_REPO_USERNAME, XIAO_GITHUB_REPO_NAME } = process.env;
|
||||||
const source = XIAO_GITHUB_REPO_NAME && XIAO_GITHUB_REPO_USERNAME;
|
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 repoURL = `https://github.com/${XIAO_GITHUB_REPO_USERNAME}/${XIAO_GITHUB_REPO_NAME}`;
|
||||||
const embed = new MessageEmbed()
|
const embed = new MessageEmbed()
|
||||||
.setColor(0x00AE86)
|
.setColor(0x00AE86)
|
||||||
.setFooter('©2017-2020 dragonfire535#8081')
|
.setFooter(copyright.join('\n'))
|
||||||
.addField('❯ Servers', formatNumber(this.client.guilds.cache.size), true)
|
.addField('❯ Servers', formatNumber(this.client.guilds.cache.size), true)
|
||||||
.addField('❯ Commands', formatNumber(this.client.registry.commands.size), true)
|
.addField('❯ Commands', formatNumber(this.client.registry.commands.size), true)
|
||||||
.addField('❯ Shards', formatNumber(this.client.options.shardCount), true)
|
.addField('❯ Shards', formatNumber(this.client.options.shardCount), true)
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "xiao",
|
"name": "xiao",
|
||||||
"version": "119.12.0",
|
"version": "119.12.1",
|
||||||
"description": "Your personal server companion.",
|
"description": "Your personal server companion.",
|
||||||
"main": "Xiao.js",
|
"main": "Xiao.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
Reference in New Issue
Block a user