Add a message saying the bot is open-source
This commit is contained in:
parent
9e03210af4
commit
d612c085f0
2 changed files with 5 additions and 0 deletions
|
@ -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,
|
||||||
|
|
|
@ -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",
|
||||||
|
|
Loading…
Reference in a new issue