$discriminator

Returns a user's discriminator (the 4 digit number at the end of their username).

Syntax

$discriminator[User ID]

Parameters

  • User ID (Type: Snowflake || Flag: Emptiable): The user to get the discriminator from.

🧙‍♂️ You can leave the User ID argument empty to get the discriminator of the author of the message. See Example 1 below.

Examples

Example #1

$nomention
Hello $username#$discriminator[]!

example1

Example #2

$nomention
Hello, I'm **$username[$botID]#$discriminator[$botID]**!

example2