diff --git a/commands/about.js b/commands/about.js index 9410308..cf92cbd 100644 --- a/commands/about.js +++ b/commands/about.js @@ -57,6 +57,11 @@ const aboutBot = function (c) { } ] }) + c.reply({ text: '' }) + c.reply({ + text: getMessage(c.lang, 'command.about.subcommands'), + color: c.colors.secondary + }) } const os2 = function (o2, l) { @@ -222,7 +227,7 @@ const aboutServer = function (c) { } const displayServerList = function (c) { - index.bots.forEach((item, i) => { + bots.forEach((item, i) => { if (c.bot.id === i && c.bot.host.options.hideLocally) return if (item.host.options && item.host.options.hidden && c.verify !== 2 && c.bot.id !== i) return let message = 'command.about.serverListItem' diff --git a/lang/en-US.json b/lang/en-US.json index 5dd6647..7ed01cd 100644 --- a/lang/en-US.json +++ b/lang/en-US.json @@ -47,6 +47,7 @@ "command.about.preRelease": "This is a development version - there may be errors, and features may be changed or removed at any time. Please report any errors to the bot's developer.", "command.about.sourceCode": "Source code: %s", "command.about.license": "This bot is free and open-source software and is available under the terms of the MIT license.", + "command.about.subcommands": "This command has subcommands to find out more about this bot - try running the commands \"servers\" or \"serverinfo\".", "command.about.sourceCode.openInBrowser": "Click to open the source code link in your default browser", "command.cloop.error.tooShort": "Command loops must have a rate above 20ms.", "command.cloop.error.subcommand": "Unknown subcommand, please do %s",