diff --git a/src/structures/Guild.js b/src/structures/Guild.js index da5ad84..748ce56 100644 --- a/src/structures/Guild.js +++ b/src/structures/Guild.js @@ -255,6 +255,7 @@ class Guild extends AnonymousGuild { * * MORE_STICKERS * * THREE_DAY_THREAD_ARCHIVE * * SEVEN_DAY_THREAD_ARCHIVE + * * RAID_ALERTS_DISABLED * * PRIVATE_THREADS * * ROLE_ICONS * * ROLE_SUBSCRIPTIONS_AVAILABLE_FOR_PURCHASE @@ -1362,7 +1363,7 @@ class Guild extends AnonymousGuild { * @example * // Edit the guild safety alerts channel * guild.setSafetyAlertsChannel(channel) - * .then(updated => console.log(`Updated guild safety alerts channel to ${guild.safetyAlertsChannel.name}`)) + * .then(updated => console.log(`Updated guild safety alerts channel to ${updated.safetyAlertsChannel.name}`)) * .catch(console.error); */ setSafetyAlertsChannel(safetyAlertsChannel, reason) { diff --git a/typings/index.d.ts b/typings/index.d.ts index fd656ed..8a601ec 100644 --- a/typings/index.d.ts +++ b/typings/index.d.ts @@ -6375,7 +6375,7 @@ export type GuildFeatures = | 'THREE_DAY_THREAD_ARCHIVE' | 'SEVEN_DAY_THREAD_ARCHIVE' | 'PRIVATE_THREADS' - | 'RAID_ALERTS_ENABLED' + | 'RAID_ALERTS_DISABLED' | 'ROLE_ICONS' | 'ROLE_SUBSCRIPTIONS_AVAILABLE_FOR_PURCHASE' | 'ROLE_SUBSCRIPTIONS_ENABLED';