@moonr/func
v0.2.6
Published
function for moon bot
Downloads
528
Readme
Function for moon-bot
this is a very simple and complex moon bot whatsapp module, use Baileys
Example
Connection usage examples, if you're confused just sleep.
Event Message
WebMessageInfo {
messageStubParameters: [],
labels: [],
userReceipt: [],
reactions: [],
pollUpdates: [],
eventResponses: [],
key: MessageKey {
remoteJid: '[email protected]',
fromMe: false,
id: '3FFBC635AC8AD28AFCDC'
},
message: Message {
extendedTextMessage: ExtendedTextMessage { text: '=> m', contextInfo: [ContextInfo] }
},
messageTimestamp: Long { low: 1730854469, high: 0, unsigned: true },
broadcast: false,
pushName: 'Lorem Ipsum',
id: '3FFBC635AC8AD28AFCDC',
isBaileys: false,
chat: '[email protected]',
isGroup: false,
sender: '[email protected]',
fromMe: false,
mtype: 'extendedTextMessage',
msg: ExtendedTextMessage {
text: '=> m',
contextInfo: ContextInfo {
mentionedJid: [],
groupMentions: [],
expiration: 0,
ephemeralSettingTimestamp: [Long],
disappearingMode: [DisappearingMode]
}
},
text: '=> m',
mentionedJid: [],
quoted: null,
name: 'Lorem Ipsum',
reply: [Function (anonymous)],
react: [Function (anonymous)],
copy: [Function (anonymous)],
forward: [Function (anonymous)],
copyNForward: [Function (anonymous)],
cMod: [Function (anonymous)],
delete: [Function (anonymous)],
exp: 4,
limit: false
}