topsapp: mostra Circuit-ID do cliente
Signed-off-by: Rodrigo Martins <rodrigo@martinsevieira.adv.br>
This commit is contained in:
1 parent
d8badf1fde
commit
01f1315f9e
34 files changed
+70789
-70768
No files matched your search
+24
-24
@@ -1,24 +1,24 @@
|
||||
module.exports = {
|
||||
telegram: {
|
||||
token: process.env.TELEGRAM_BOT_TOKEN || ''
|
||||
},
|
||||
ssh: {
|
||||
defaultHost: process.env.DEFAULT_SSH_HOST || '',
|
||||
defaultUser: process.env.DEFAULT_SSH_USER || '',
|
||||
defaultPassword: process.env.DEFAULT_SSH_PASSWORD || '',
|
||||
timeout: 30000
|
||||
},
|
||||
bot: {
|
||||
debug: process.env.BOT_DEBUG === 'true',
|
||||
allowedUsers: process.env.ALLOWED_USERS ?
|
||||
process.env.ALLOWED_USERS.split(',').map(id => parseInt(id.trim())) :
|
||||
[]
|
||||
},
|
||||
commands: {
|
||||
start: '/start',
|
||||
help: '/help',
|
||||
ssh: '/ssh',
|
||||
status: '/status',
|
||||
equipamentos: '/equipamentos'
|
||||
}
|
||||
};
|
||||
module.exports = {
|
||||
telegram: {
|
||||
token: process.env.TELEGRAM_BOT_TOKEN || ''
|
||||
},
|
||||
ssh: {
|
||||
defaultHost: process.env.DEFAULT_SSH_HOST || '',
|
||||
defaultUser: process.env.DEFAULT_SSH_USER || '',
|
||||
defaultPassword: process.env.DEFAULT_SSH_PASSWORD || '',
|
||||
timeout: 30000
|
||||
},
|
||||
bot: {
|
||||
debug: process.env.BOT_DEBUG === 'true',
|
||||
allowedUsers: process.env.ALLOWED_USERS ?
|
||||
process.env.ALLOWED_USERS.split(',').map(id => parseInt(id.trim())) :
|
||||
[]
|
||||
},
|
||||
commands: {
|
||||
start: '/start',
|
||||
help: '/help',
|
||||
ssh: '/ssh',
|
||||
status: '/status',
|
||||
equipamentos: '/equipamentos'
|
||||
}
|
||||
};
|
||||
Reference in new issue
Block a user