Functionalities
Other
$randomUserID
Returns a random user ID of someone in the current or defined guild.

FUNCTION USAGE:

  • $randomUserID
  • $randomUserID[]
  • $randomUserID[guildID]

Properties:

[] - Leave brackets empty to return a random user ID from the current guild. Same as no brackets. guildID - Define a guild ID to return a random user ID from that guild.

Example: A random user ID from the current guild.

1
bot.Command({
2
name: "randomid",
3
code: `
4
A random user id from here: $randomUserID
5
`
6
})
Copied!

Example: A random user ID from the defined guild.

1
bot.Command({
2
name: "randomid",
3
code: `
4
A random user id from $guildName[48672834029520345]: $randomUserID[48672834029520345]
5
`
6
})
Copied!
Last modified 4mo ago
Copy link
Contents
Properties: