Add Working directory to Server Info
This commit is contained in:
parent
d9a04f0e33
commit
a323d257fe
3 changed files with 3 additions and 0 deletions
|
@ -54,6 +54,7 @@ module.exports = {
|
|||
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.workingDir"), process.cwd()))
|
||||
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))
|
||||
|
|
|
@ -53,6 +53,7 @@
|
|||
"command.serverinfo.arch": "Architecture",
|
||||
"command.serverinfo.osUsername": "Username",
|
||||
"command.serverinfo.hostName": "Hostname",
|
||||
"command.serverinfo.workingDir": "Working directory",
|
||||
"command.serverinfo.runTime": "Bot uptime",
|
||||
"command.serverinfo.upTime": "System uptime",
|
||||
"command.serverinfo.nodeVersion": "Node.js version",
|
||||
|
|
|
@ -53,6 +53,7 @@
|
|||
"command.serverinfo.arch": "Awchitectuwe",
|
||||
"command.serverinfo.osUsername": "Usewnyame",
|
||||
"command.serverinfo.hostName": "Hostnyame",
|
||||
"command.serverinfo.workingDir": "Wowking diwectowy",
|
||||
"command.serverinfo.runTime": "Bot uptime",
|
||||
"command.serverinfo.upTime": "System uptime",
|
||||
"command.serverinfo.nodeVersion": "Nyode.js vewsion",
|
||||
|
|
Loading…
Add table
Reference in a new issue