$userTag

Returns the username and tag (discriminator) of a user.

Usage

$userTag[userID]
  1. userID - (Opional) default value: $authorID. The ID of a user you want to return username and tag from.

Example

Using $userTag

How to use $userTag

User#123404/23/2025
!!exec $userTag
Custom Command Bot 04/23/2025
user#1234

Note

This feature is deprecated because Discord switched to usernames. This function will return only username as of the username update. This still works on bots.

Function difficulty: Easy
Tags: name userTag nickname username Names userID