Browse Source

default bot commands vals

push-params
Evan Feenstra 5 years ago
parent
commit
27d6bfe653
  1. 2
      api/utils/tribes.ts
  2. 2
      dist/api/utils/tribes.js
  3. 2
      dist/api/utils/tribes.js.map

2
api/utils/tribes.ts

@ -193,7 +193,7 @@ async function makeBotsJSON(tribeID) {
} }
return <BotJSON>{ return <BotJSON>{
prefix: bot.botPrefix, prefix: bot.botPrefix,
price: bot.pricePerUse, price: bot.pricePerUse||0,
commands: null, commands: null,
} }
}) })

2
dist/api/utils/tribes.js

@ -229,7 +229,7 @@ function makeBotsJSON(tribeID) {
} }
return { return {
prefix: bot.botPrefix, prefix: bot.botPrefix,
price: bot.pricePerUse, price: bot.pricePerUse || 0,
commands: null, commands: null,
}; };
}); });

2
dist/api/utils/tribes.js.map

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