Skip to content

$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

$oldGuild[option]

Parameters

FieldTypeDescriptionRequired
optionstringOption to retrieve.true