Browse Source

arg order

dependabot/npm_and_yarn/ini-1.3.7
Evan Feenstra 4 years ago
parent
commit
6a658af78f
  1. 3
      dist/src/builtin/loop.js
  2. 2
      dist/src/builtin/loop.js.map
  3. 3
      src/builtin/loop.ts

3
dist/src/builtin/loop.js

@ -119,9 +119,9 @@ function init() {
}
const cmd = `loop`;
const args = [
'out',
`--tlscertpath=${config.tls_location}`,
`--rpcserver=localhost:10009`,
'out',
`--channel=${chan}`,
`--amt=${amt}`,
`--fast`,
@ -153,6 +153,7 @@ function init() {
catch (e) {
console.log('LoopBot error', e);
}
return; // return here
}
const cmd = arr[1];
const isAdmin = message.member.roles.find(role => role.name === 'Admin');

2
dist/src/builtin/loop.js.map

File diff suppressed because one or more lines are too long

3
src/builtin/loop.ts

@ -115,9 +115,9 @@ export function init() {
}
const cmd = `loop`
const args = [
'out',
`--tlscertpath=${config.tls_location}`,
`--rpcserver=localhost:10009`,
'out',
`--channel=${chan}`,
`--amt=${amt}`,
`--fast`,
@ -148,6 +148,7 @@ export function init() {
} catch (e) {
console.log('LoopBot error', e)
}
return // return here
}
const cmd = arr[1]

Loading…
Cancel
Save