$oldGuild
$oldGuild
holds data for the guild before it was updated, this is from discord cache and might be empty depending on
whether it’s cached, so use partial option before attempting to access any property. (guildUpdate event)
Usage
Parameters
Field | Type | Description | Required |
---|---|---|---|
option | string | Option to retrieve. | true |
Options
Option | Type | Description |
---|---|---|
afkChannel | string | Returns AFK Channel Name |
bannerURL | string | Returns guild banner URL |