Skip to content

$referenceUserId

$referenceUserId will return the referenced user of a replied message.

Usage

$referenceUserId

Example(s)

This will return the user ID of whoever you replied to:

1
client.command({
2
name: "referenceUserId",
3
code: `
4
$referenceUserId
5
`
6
});