feat: Safety alerts channel and mention raid protection (update)
This commit is contained in:
parent
ae8157302e
commit
749b8bb940
@ -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) {
|
||||
|
2
typings/index.d.ts
vendored
2
typings/index.d.ts
vendored
@ -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';
|
||||
|
Loading…
Reference in New Issue
Block a user