Move bot name to version file
This commit is contained in:
parent
f7610415c2
commit
f79ccb2275
3 changed files with 6 additions and 5 deletions
|
@ -9,13 +9,13 @@ module.exports = {
|
|||
color: c.colors.secondary,
|
||||
with: [
|
||||
{
|
||||
text: settings.name,
|
||||
text: version.botName,
|
||||
color: c.colors.primary
|
||||
}
|
||||
]
|
||||
})
|
||||
c.reply({ text: '' })
|
||||
const botVersion = version.bot
|
||||
const botVersion = version.botVersion
|
||||
let gitCommit
|
||||
try {
|
||||
gitCommit = cp.execSync('git rev-parse --short HEAD').toString('UTF-8').split('\n')[0]
|
||||
|
|
|
@ -80,8 +80,8 @@ module.exports = {
|
|||
const dBrand = cp.execSync('getprop ro.product.brand').toString('UTF-8').split('\n')[0]
|
||||
c.reply(gr(c.lang, getMessage(c.lang, 'command.serverinfo.os.android.model'), dBrand + ' ' + dModel, c.colors))
|
||||
}
|
||||
c.reply(gr(c.lang, getMessage(c.lang, 'command.serverinfo.botName'), settings.name, c.colors))
|
||||
let botVersion = version.bot
|
||||
c.reply(gr(c.lang, getMessage(c.lang, 'command.serverinfo.botName'), version.botName, c.colors))
|
||||
let botVersion = version.botVersion
|
||||
let gitCommit
|
||||
try {
|
||||
gitCommit = cp.execSync('git rev-parse --short HEAD').toString('UTF-8').split('\n')[0]
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
{
|
||||
"bot": "10.0.0-beta.1"
|
||||
"botName": "UBot Dev",
|
||||
"botVersion": "10.0.0-beta.1"
|
||||
}
|
Loading…
Reference in a new issue