Browse Source

log

push-params
Evan Feenstra 4 years ago
parent
commit
bec5b0f722
  1. 5
      api/bots/mother.ts
  2. 5
      dist/api/bots/mother.js
  3. 2
      dist/api/bots/mother.js.map

5
api/bots/mother.ts

@ -14,7 +14,7 @@ const constants = require(path.join(__dirname, '../../config/constants.json'))
const config = require(path.join(__dirname, '../../config/app.json'))[env] const config = require(path.join(__dirname, '../../config/app.json'))[env]
const builtinBots = [ const builtinBots = [
'welcome', 'btc', 'loopout' 'welcome', 'loopout'
] ]
const builtInBotMsgTypes = { const builtInBotMsgTypes = {
@ -26,7 +26,7 @@ const builtInBotMsgTypes = {
const builtInBotNames = { const builtInBotNames = {
welcome:'WelcomeBot', welcome:'WelcomeBot',
btc:'BitcoinBot', // btc:'BitcoinBot',
loopout:'LoopBot', loopout:'LoopBot',
} }
@ -111,6 +111,7 @@ export function init() {
.setDescription('No bots found') .setDescription('No bots found')
return message.channel.send({ embed }) return message.channel.send({ embed })
} }
console.log("==? SEARHED BOTS", bots)
const embed3 = new Sphinx.MessageEmbed() const embed3 = new Sphinx.MessageEmbed()
.setAuthor('MotherBot') .setAuthor('MotherBot')
.setTitle('Bots:') .setTitle('Bots:')

5
dist/api/bots/mother.js

@ -23,7 +23,7 @@ const env = process.env.NODE_ENV || 'development';
const constants = require(path.join(__dirname, '../../config/constants.json')); const constants = require(path.join(__dirname, '../../config/constants.json'));
const config = require(path.join(__dirname, '../../config/app.json'))[env]; const config = require(path.join(__dirname, '../../config/app.json'))[env];
const builtinBots = [ const builtinBots = [
'welcome', 'btc', 'loopout' 'welcome', 'loopout'
]; ];
const builtInBotMsgTypes = { const builtInBotMsgTypes = {
'welcome': [ 'welcome': [
@ -33,7 +33,7 @@ const builtInBotMsgTypes = {
}; };
const builtInBotNames = { const builtInBotNames = {
welcome: 'WelcomeBot', welcome: 'WelcomeBot',
btc: 'BitcoinBot', // btc:'BitcoinBot',
loopout: 'LoopBot', loopout: 'LoopBot',
}; };
function init() { function init() {
@ -119,6 +119,7 @@ function init() {
.setDescription('No bots found'); .setDescription('No bots found');
return message.channel.send({ embed }); return message.channel.send({ embed });
} }
console.log("==? SEARHED BOTS", bots);
const embed3 = new Sphinx.MessageEmbed() const embed3 = new Sphinx.MessageEmbed()
.setAuthor('MotherBot') .setAuthor('MotherBot')
.setTitle('Bots:') .setTitle('Bots:')

2
dist/api/bots/mother.js.map

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save