$username

Returns the name of the user that executed the command, or a member specified in the first parameter

Usage:

$username[userid (optional, default=$authorID)]

Member01/27/2023
!!exec $username
Custom Command Bot 01/27/2023
Member

Related Functions

$nickname, to get the current nickname from a member

$discriminator, to get the current discriminator from a member

$userTag, to return the members username + discriminator

Function difficulty: Easy
Tags: name username nickname Names userID