$dm
All code results will be sent to the dm/private message of the person with the JID provided.
you can put $dm anywhere in the code (no need above or below because if there is $dm then all code results will be sent to the dm person jid)
Usage:
$dm[user jid (optional)]Example:
bot.command({
name: "dm",
code: `
Hello world
$dm[[email protected]]`
})bot.command({
name: "dmMe",
code: `
Hello $senderPushName
$dm`
})Last updated
Was this helpful?