Functionalities
Other
Powered By GitBook
$randomUserReaction
Returns the ID of a random user from a message of a specific reaction.

FUNCTION USAGE

    $randomUserReaction[channelID;messageID;emoji]

Properties:

channelID - The ID of a channel where the reaction takes place. messageID - The ID of a message associated with the emoji reaction. emoji - The emoji used to react to a message.

Example 1: The function will return a random user ID that reacted with that emoji on that message.

1
bot.Command({
2
name: "get",
3
code: `
4
$randomUserReaction[$channelID;860687604764508181;😃]
5
`
6
})
Copied!

Example 2: If fields are defined correctly, the function will return a random user ID that reacted with that emoji on that message.

1
bot.Command({
2
name: "get",
3
code: `
4
$randomUserReaction[$message[1];$message[2];$message[3]]
5
`
6
})
Copied!
Last modified 3mo ago
Copy link
Contents
Properties: