mirror of
https://github.com/FranP-code/Baileys.git
synced 2025-10-13 00:32:22 +00:00
Merge branch 'master' into master
This commit is contained in:
@@ -5,12 +5,8 @@ import P from 'pino'
|
||||
import readline from 'readline'
|
||||
import makeWASocket, { AnyMessageContent, delay, DisconnectReason, fetchLatestBaileysVersion, getAggregateVotesInPollMessage, makeCacheableSignalKeyStore, makeInMemoryStore, PHONENUMBER_MCC, proto, useMultiFileAuthState, WAMessageContent, WAMessageKey } from '../src'
|
||||
|
||||
const logger = P({
|
||||
transport: {
|
||||
target: 'pino-pretty'
|
||||
},
|
||||
level: 'trace'
|
||||
})
|
||||
const logger = MAIN_LOGGER.child({})
|
||||
logger.level = 'trace'
|
||||
|
||||
const useStore = !process.argv.includes('--no-store')
|
||||
const doReplies = !process.argv.includes('--no-reply')
|
||||
@@ -159,6 +155,15 @@ const startSock = async() => {
|
||||
await saveCreds()
|
||||
}
|
||||
|
||||
if(events['labels.association']) {
|
||||
console.log(events['labels.association'])
|
||||
}
|
||||
|
||||
|
||||
if(events['labels.edit']) {
|
||||
console.log(events['labels.edit'])
|
||||
}
|
||||
|
||||
if(events.call) {
|
||||
console.log('recv call event', events.call)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user