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
|
* * MORE_STICKERS
|
||||||
* * THREE_DAY_THREAD_ARCHIVE
|
* * THREE_DAY_THREAD_ARCHIVE
|
||||||
* * SEVEN_DAY_THREAD_ARCHIVE
|
* * SEVEN_DAY_THREAD_ARCHIVE
|
||||||
|
* * RAID_ALERTS_DISABLED
|
||||||
* * PRIVATE_THREADS
|
* * PRIVATE_THREADS
|
||||||
* * ROLE_ICONS
|
* * ROLE_ICONS
|
||||||
* * ROLE_SUBSCRIPTIONS_AVAILABLE_FOR_PURCHASE
|
* * ROLE_SUBSCRIPTIONS_AVAILABLE_FOR_PURCHASE
|
||||||
@ -1362,7 +1363,7 @@ class Guild extends AnonymousGuild {
|
|||||||
* @example
|
* @example
|
||||||
* // Edit the guild safety alerts channel
|
* // Edit the guild safety alerts channel
|
||||||
* guild.setSafetyAlertsChannel(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);
|
* .catch(console.error);
|
||||||
*/
|
*/
|
||||||
setSafetyAlertsChannel(safetyAlertsChannel, reason) {
|
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'
|
| 'THREE_DAY_THREAD_ARCHIVE'
|
||||||
| 'SEVEN_DAY_THREAD_ARCHIVE'
|
| 'SEVEN_DAY_THREAD_ARCHIVE'
|
||||||
| 'PRIVATE_THREADS'
|
| 'PRIVATE_THREADS'
|
||||||
| 'RAID_ALERTS_ENABLED'
|
| 'RAID_ALERTS_DISABLED'
|
||||||
| 'ROLE_ICONS'
|
| 'ROLE_ICONS'
|
||||||
| 'ROLE_SUBSCRIPTIONS_AVAILABLE_FOR_PURCHASE'
|
| 'ROLE_SUBSCRIPTIONS_AVAILABLE_FOR_PURCHASE'
|
||||||
| 'ROLE_SUBSCRIPTIONS_ENABLED';
|
| 'ROLE_SUBSCRIPTIONS_ENABLED';
|
||||||
|
Loading…
Reference in New Issue
Block a user