Add a message saying the bot is open-source

This commit is contained in:
7cc5c4f330d47060 2024-09-22 23:15:27 -04:00
parent 9e03210af4
commit d612c085f0
Signed by: 7cc5c4f330d47060
SSH key fingerprint: SHA256:e+4tcZut1nBpe10PqjaO+Rvie0Q7W4qIvFzcUw+7riA
2 changed files with 5 additions and 0 deletions

View file

@ -29,6 +29,10 @@ const aboutBot = function (c) {
}) })
} }
c.reply({ text: '' }) c.reply({ text: '' })
c.reply({
text: getMessage(c.lang, 'command.about.license'),
color: c.colors.secondary
})
c.reply({ c.reply({
translate: getMessage(c.lang, 'command.about.sourceCode'), translate: getMessage(c.lang, 'command.about.sourceCode'),
color: c.colors.secondary, color: c.colors.secondary,

View file

@ -48,6 +48,7 @@
"command.about.version": "Version %s", "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.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.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.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.tooShort": "Command loops must have a rate above 20ms.",
"command.cloop.error.subcommand": "Unknown subcommand, please do %s", "command.cloop.error.subcommand": "Unknown subcommand, please do %s",