mirror of
https://github.com/FranP-code/Baileys.git
synced 2025-10-13 00:32:22 +00:00
chore(labels): update example script
This commit is contained in:
@@ -88,6 +88,15 @@ const startSock = async() => {
|
|||||||
await saveCreds()
|
await saveCreds()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (events['labels.association']) {
|
||||||
|
console.log(events['labels.association'])
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
if (events['labels.edit']) {
|
||||||
|
console.log(events['labels.edit'])
|
||||||
|
}
|
||||||
|
|
||||||
if (events.call) {
|
if (events.call) {
|
||||||
console.log('recv call event', events.call)
|
console.log('recv call event', events.call)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user