Fix credit when blank, add readme data and bump version

This commit is contained in:
Daniel Odendahl Jr
2019-04-14 00:06:55 +00:00
parent 45c8d62dd5
commit 67f314dd4e
3 changed files with 4 additions and 2 deletions
+2 -1
View File
@@ -45,11 +45,12 @@ Xiao is a Discord bot coded in JavaScript with
6. Run `npm i -g pm2` to install PM2.
7. Run `pm2 start Xiao.js --name xiao` to run the bot.
## Commands (342)
## Commands (343)
### Utility:
* **eval:** Executes JavaScript code.
* **changelog:** Responds with the bot's latest 10 commits.
* **credit:** Responds with a command's credits list.
* **donate:** Responds with the bot's donation links.
* **help:** Displays a list of available commands, or detailed information for a specific command.
* **info:** Responds with detailed bot information.
+1
View File
@@ -20,6 +20,7 @@ module.exports = class CreditCommand extends Command {
}
run(msg, { command }) {
if (!command.credit) return msg.say('This command is credited to no one. It just appeared.');
const embed = new MessageEmbed()
.setTitle(command.name)
.setColor(0x7289DA)
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "xiao",
"version": "102.4.0",
"version": "102.5.0",
"description": "Your personal server companion.",
"main": "Xiao.js",
"scripts": {