$discriminator
Returns the discriminator of the user who executed the command, or a specified member.
Usage:
$discriminator[userID]
- userID - (Optional) default value:
$authorID
. The ID of user you want to return the discriminator from.
Example
Using $discriminator
Returning a discriminator from user
Note
This feature is deprecated because Discord switched to usernames. This function will return 0 as of the username update. This still works on bots.