Add hostname to server info
This commit is contained in:
parent
78815ee72a
commit
d9a04f0e33
3 changed files with 3 additions and 0 deletions
|
@ -53,6 +53,7 @@ module.exports = {
|
|||
if(os.cpus()[0]) c.reply(gr(c.lang,getMessage(c.lang,"command.serverinfo.processor"), os.cpus()[0].model))
|
||||
c.reply(gr(c.lang,getMessage(c.lang,"command.serverinfo.arch"), os.machine()))
|
||||
c.reply(gr(c.lang,getMessage(c.lang,"command.serverinfo.osUsername"), os.userInfo().username))
|
||||
c.reply(gr(c.lang,getMessage(c.lang,"command.serverinfo.hostName"), os.hostname()))
|
||||
c.reply(gr(c.lang,getMessage(c.lang,"command.serverinfo.runTime"), timeformat(process.uptime() * 1000)))
|
||||
c.reply(gr(c.lang,getMessage(c.lang,"command.serverinfo.upTime"), timeformat(os.uptime() * 1000)))
|
||||
c.reply(gr(c.lang,getMessage(c.lang,"command.serverinfo.nodeVersion"), process.version))
|
||||
|
|
|
@ -52,6 +52,7 @@
|
|||
"command.serverinfo.processor": "CPU",
|
||||
"command.serverinfo.arch": "Architecture",
|
||||
"command.serverinfo.osUsername": "Username",
|
||||
"command.serverinfo.hostName": "Hostname",
|
||||
"command.serverinfo.runTime": "Bot uptime",
|
||||
"command.serverinfo.upTime": "System uptime",
|
||||
"command.serverinfo.nodeVersion": "Node.js version",
|
||||
|
|
|
@ -52,6 +52,7 @@
|
|||
"command.serverinfo.processor": "CPU",
|
||||
"command.serverinfo.arch": "Awchitectuwe",
|
||||
"command.serverinfo.osUsername": "Usewnyame",
|
||||
"command.serverinfo.hostName": "Hostnyame",
|
||||
"command.serverinfo.runTime": "Bot uptime",
|
||||
"command.serverinfo.upTime": "System uptime",
|
||||
"command.serverinfo.nodeVersion": "Nyode.js vewsion",
|
||||
|
|
Loading…
Reference in a new issue