$dm

All code results will be sent to the dm/private message of the person with the JID provided.

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?