Skip to content

$guildRoleIconURL

$guildRoleIconURL will retrieve the image URL of the role icon.

Usage

$guildRoleIconURL[guildId?;roleId]

Parameters

FieldTypeDescriptionRequired
guildId?numberID of the guild where the role exists.false
roleIdnumberID of the role you want to check if it exists.true

Example(s)

This will return the image URL of the role icon:

1
client.command({
2
name: "guildRoleIconURL",
3
code: `
4
$guildRoleIconURL[$guildID;900004369355931729]
5
`
6
});