@ -35,6 +35,6 @@ export function init() {
})
}
const botSVG = `<svg viewBox="64 64 896 896" height="12" width="12" color="white">
const botSVG = `<svg viewBox="64 64 896 896" height="16" width="16" fill="white">
<path d="M300 328a60 60 0 10120 0 60 60 0 10-120 0zM852 64H172c-17.7 0-32 14.3-32 32v660c0 17.7 14.3 32 32 32h680c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-32 660H204V128h616v596zM604 328a60 60 0 10120 0 60 60 0 10-120 0zm250.2 556H169.8c-16.5 0-29.8 14.3-29.8 32v36c0 4.4 3.3 8 7.4 8h729.1c4.1 0 7.4-3.6 7.4-8v-36c.1-17.7-13.2-32-29.7-32zM664 508H360c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h304c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z" />
</svg>`
@ -17,7 +17,7 @@ const config = require(path.join(__dirname,'../../config/config.json'))[env]
const sequelize = new Sequelize({
...config,
logging: console.log,//process.env.SQL_LOG==='true' ? console.log : false,
logging: process.env.SQL_LOG==='true' ? console.log : false,
models: [Chat,Contact,Invite,Message,Subscription,MediaKey,ChatMember,Timer,Bot,ChatBot,BotMember]
const models = sequelize.models
@ -18,7 +18,7 @@ export async function sendMessage(params) {
const { type, chat, message, sender, amount, success, failure, skipPubKey } = params
let msg = newmsg(type, chat, sender, message)
console.log("=> MSG TO SEND",msg)
// console.log("=> MSG TO SEND",msg)
// console.log(type,message)
if(!(sender&&sender.publicKey)) {
@ -11203,9 +11203,9 @@
},
"sphinx-bot": {
"version": "0.1.19",
"resolved": "https://registry.npmjs.org/sphinx-bot/-/sphinx-bot-0.1.19.tgz",
"integrity": "sha512-tQiuAgoRbe1dTkVEcVo51xDJcugEKgezxME6WVFPPqr0ZxwdRpKo1CTr9Kxpm6oB+GSh4g4ilVLacqo13rVI2g==",
"version": "0.1.20",
"resolved": "https://registry.npmjs.org/sphinx-bot/-/sphinx-bot-0.1.20.tgz",
"integrity": "sha512-VQM5r47mikJTDVVwPKx+3eeEGMl6AHGC5bZJdTK6QuNS2o6SiZZor0Fm79YVD0cprOt2Ype2L54Msko+QOpSdA==",
"requires": {
"eventemitter3": "^4.0.7",
"isomorphic-dompurify": "^0.6.0"
@ -78,7 +78,7 @@
"short-uuid": "^3.1.1",
"sjcl": "^1.0.8",
"socket.io": "^2.3.0",
"sphinx-bot": "^0.1.19",
"sphinx-bot": "^0.1.20",
"tail": "^2.0.3",
"ts-node": "^8.5.4",
"tsc": "^1.20150623.0",