Browse Source

loop double msg fix, raspiblitz connection string fix

dependabot/npm_and_yarn/ini-1.3.7 v1.0.15
Evan Feenstra 4 years ago
parent
commit
4a9a310df3
  1. 2
      dist/src/builtin/loop.js
  2. 2
      dist/src/builtin/loop.js.map
  3. 2
      dist/src/utils/setup.js
  4. 2
      dist/src/utils/setup.js.map
  5. 2
      src/builtin/loop.ts
  6. 2
      src/utils/setup.ts

2
dist/src/builtin/loop.js

@ -71,6 +71,7 @@ function init() {
.setAuthor('LoopBot') .setAuthor('LoopBot')
.setDescription('No channel set'); .setDescription('No channel set');
message.channel.send({ embed }); message.channel.send({ embed });
return;
} }
const j2 = yield doRequest(baseurl + '/v1/loop/out', { const j2 = yield doRequest(baseurl + '/v1/loop/out', {
method: 'POST', method: 'POST',
@ -117,6 +118,7 @@ function init() {
.setDescription('Channel updated to ' + chan) .setDescription('Channel updated to ' + chan)
.setThumbnail(botSVG); .setThumbnail(botSVG);
message.channel.send({ embed }); message.channel.send({ embed });
return;
} }
} }
switch (cmd) { switch (cmd) {

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

File diff suppressed because one or more lines are too long

2
dist/src/utils/setup.js

@ -233,6 +233,6 @@ function printQR() {
}); });
} }
function connectionStringFile(str) { function connectionStringFile(str) {
fs.appendFile('connection_string.txt', str, function (err) { }); fs.writeFile('connection_string.txt', str, function (err) { });
} }
//# sourceMappingURL=setup.js.map //# sourceMappingURL=setup.js.map

2
dist/src/utils/setup.js.map

File diff suppressed because one or more lines are too long

2
src/builtin/loop.ts

@ -64,6 +64,7 @@ export function init() {
.setAuthor('LoopBot') .setAuthor('LoopBot')
.setDescription('No channel set') .setDescription('No channel set')
message.channel.send({ embed }) message.channel.send({ embed })
return
} }
const j2 = await doRequest(baseurl + '/v1/loop/out', { const j2 = await doRequest(baseurl + '/v1/loop/out', {
@ -113,6 +114,7 @@ export function init() {
.setDescription('Channel updated to '+chan) .setDescription('Channel updated to '+chan)
.setThumbnail(botSVG) .setThumbnail(botSVG)
message.channel.send({ embed }) message.channel.send({ embed })
return
} }
} }
switch (cmd) { switch (cmd) {

2
src/utils/setup.ts

@ -230,5 +230,5 @@ async function printQR() {
} }
function connectionStringFile(str:string){ function connectionStringFile(str:string){
fs.appendFile('connection_string.txt', str, function (err) {}); fs.writeFile('connection_string.txt', str, function (err) {});
} }
Loading…
Cancel
Save