onUserLeave
This callback will listen to people who leave the group.
Command:
bot.userLeaveCommand({
groupJid: 'group jid', // you can use the get variables here
code: `code`
})Code Breakdown:
Example:
bot.userJoinCommand({
groupJid: '[email protected]',
code: `Goodbye {user} from {group}`
})Last updated