Functionalities
Other
Powered By GitBook
$userBanner
Returns the banner image applied to a users profile (Nitro Premium users only). Otherwise the function will return undefined
FUNCTION USAGE
    $userBanner
    $userBanner[userID]

Properties:

[] - Leave brackets empty to return the command author's banner. Same as no brackets. userID - The ID of a valid user.
Only works for users with Nitro (Not Classic)
it won't work if you give an invalid username.

Example 1: Returns the ID of the specific user.

1
bot.Command({
2
name: "test",
3
code: `
4
This is the User Banner of Speshul#2695!: $userBanner[Speshul#2695]
5
`})
Copied!

Example 2: Returns the ID of a variable user.

1
bot.Command({
2
name: "test",
3
code: `
4
$message[]'s Banner is: $userBanner[$message[]]
5
`})
Copied!

Example 3: Returns the command author's ID.

1
bot.Command({
2
name: "test",
3
code: `
4
$username[$userID]'s Banner is: $userBanner
5
`})
Copied!
Last modified 1mo ago
Copy link