From d612c085f09cdbcfcd03237945b82117b8cfdf42 Mon Sep 17 00:00:00 2001 From: 7cc5c4f330d47060 Date: Sun, 22 Sep 2024 23:15:27 -0400 Subject: [PATCH] Add a message saying the bot is open-source --- commands/about.js | 4 ++++ lang/en-US.json | 1 + 2 files changed, 5 insertions(+) diff --git a/commands/about.js b/commands/about.js index 4fecc45..b5daa65 100755 --- a/commands/about.js +++ b/commands/about.js @@ -29,6 +29,10 @@ const aboutBot = function (c) { }) } c.reply({ text: '' }) + c.reply({ + text: getMessage(c.lang, 'command.about.license'), + color: c.colors.secondary + }) c.reply({ translate: getMessage(c.lang, 'command.about.sourceCode'), color: c.colors.secondary, diff --git a/lang/en-US.json b/lang/en-US.json index 09464ee..e1066d9 100755 --- a/lang/en-US.json +++ b/lang/en-US.json @@ -48,6 +48,7 @@ "command.about.version": "Version %s", "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.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",