$username
Returns a user's username.
Usages
There are two usages of the $username
function.
Usage #1
$username
- Returns the username of the user running this command.
Usage #2
$username[userID]
- Returns username of the user with the 'userID' that is provided.
Examples
Example #1
(for this example a echo command)
$nomention
Hello $username!
Example #2
(for this example a hug command)
$nomention
$username just hugged $username[$mentioned[1]]!