$userInfo
Allows you to make a ‘user info’ command without using a bunch of different functions at once. Returns information of the first mentioned user.
$userInfo automatically generates a description. So, $description of index 1 should be avoided in the code.
Syntax
$userInfo[Message]
Parameters
Message(Type: String || Flag: Required): The message format. Check below for more information.
Sub-functions
- Following are sub-functions which you can use inside
$userInfo[]to return information of the mentioned user:
| Name | Description | Replacement |
|---|---|---|
{username} | Returns the user’s username. | $username[] |
{ID} | Returns the ID of the user. | $findUser[] |
{BOT} | Returns true if the user is a bot otherwise, false. | $isBot[] |
{discriminator} | Returns the user’s discriminator. (Depreacted) | $discriminator[] (Only For Bots) |
Example
$nomention
$title[User Info]
$userInfo[Username: {username}
User ID: {ID}
Bot?: {BOT}
Discriminator: {discriminator}]
User ID: 803569638084313098
Bot?: false
Discriminator: 0000
$userInfo automatically generates a thumbnail of the mentioned user. If you want to remove it, put $thumbnail[] (with empty argument) below $userInfo function.