Add ownerOnly to README

This commit is contained in:
Dragon Fire
2020-02-28 13:40:05 -05:00
parent 5b9a506377
commit 673408cd3e
3 changed files with 5 additions and 3 deletions
+3 -1
View File
@@ -24,7 +24,9 @@ module.exports = class GenerateCommandsCommand extends Command {
async run(msg) {
const list = this.client.registry.groups
.map(g => `\n### ${g.name}:\n\n${g.commands.map(c => `* **${c.name}:** ${c.description}`).join('\n')}`);
.map(g => `\n### ${g.name}:\n\n${g.commands.map(
c => `* **${c.name}:** ${c.description}${c.ownerOnly ? ' (Owner-Only)' : ''}`
).join('\n')}`);
const { body } = await request
.post('https://hastebin.com/documents')
.send(list.join('\n'));
+1 -1
View File
@@ -7,7 +7,7 @@ module.exports = class IpCommand extends Command {
name: 'ip',
group: 'util',
memberName: 'ip',
description: 'Responds with the IP address Xiao\'s server is running on.',
description: 'Responds with the IP address the bot\'s server is running on.',
details: 'Only the bot owner(s) may use this command.',
guarded: true,
ownerOnly: true,
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "xiao",
"version": "110.9.6",
"version": "110.9.7",
"description": "Your personal server companion.",
"main": "Xiao.js",
"scripts": {