Custom Command
FunctionsMember Functions

$userBanner

Returns the banner URL of a user.

Usage

$userBanner[userID]
  1. userID - (Optional) default value: $authorID. The ID of a user you want to return banner URL from. If no banner is found, returns undefined.

Example

How is the banner URL displayed when sent with text and without text

!!exec With text: $userBanner

With text: https://cdn.discordapp.com/banners/287135364127129601/a_0c1e74ef99e35d10f868bd839066e022.png

User Banner

!!exec $userBanner

User Banner

What shows when user does not have banner

!!exec $userBanner

undefined

Note

You can send the image as an attachment, so no link will be displayed. For this, you can use function $attachment. To display the avatar URL as plain text, either enclose the function in backticks (`$authorAvatar`) or angle brackets (<$authorAvatar>).

Related Functions: $attachment

Function difficulty: Easy

Tags: Image Banner Attachment

On this page