mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Fix credit when blank, add readme data and bump version
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "xiao",
|
||||
"version": "102.4.0",
|
||||
"version": "102.5.0",
|
||||
"description": "Your personal server companion.",
|
||||
"main": "Xiao.js",
|
||||
"scripts": {
|
||||
|
||||
Reference in New Issue
Block a user