feat: backport automod
This commit is contained in:
parent
2ecf50b131
commit
1ac8fd96ef
@ -730,6 +730,7 @@ exports.IntegrationExpireBehaviors = createEnum(['REMOVE_ROLE', 'KICK']);
|
|||||||
* * THREAD_STARTER_MESSAGE
|
* * THREAD_STARTER_MESSAGE
|
||||||
* * GUILD_INVITE_REMINDER
|
* * GUILD_INVITE_REMINDER
|
||||||
* * CONTEXT_MENU_COMMAND
|
* * CONTEXT_MENU_COMMAND
|
||||||
|
* * AUTO_MODERATION_ACTION
|
||||||
* @typedef {string} MessageType
|
* @typedef {string} MessageType
|
||||||
* @see {@link https://discord.com/developers/docs/resources/channel#message-object-message-types}
|
* @see {@link https://discord.com/developers/docs/resources/channel#message-object-message-types}
|
||||||
*/
|
*/
|
||||||
@ -758,6 +759,7 @@ exports.MessageTypes = [
|
|||||||
'THREAD_STARTER_MESSAGE',
|
'THREAD_STARTER_MESSAGE',
|
||||||
'GUILD_INVITE_REMINDER',
|
'GUILD_INVITE_REMINDER',
|
||||||
'CONTEXT_MENU_COMMAND',
|
'CONTEXT_MENU_COMMAND',
|
||||||
|
'AUTO_MODERATION_ACTION',
|
||||||
];
|
];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
1
typings/enums.d.ts
vendored
1
typings/enums.d.ts
vendored
@ -171,6 +171,7 @@ export const enum MessageTypes {
|
|||||||
THREAD_STARTER_MESSAGE,
|
THREAD_STARTER_MESSAGE,
|
||||||
GUILD_INVITE_REMINDER,
|
GUILD_INVITE_REMINDER,
|
||||||
CONTEXT_MENU_COMMAND,
|
CONTEXT_MENU_COMMAND,
|
||||||
|
AUTO_MODERATION_ACTION,
|
||||||
}
|
}
|
||||||
|
|
||||||
export const enum DefaultMessageNotificationLevels {
|
export const enum DefaultMessageNotificationLevels {
|
||||||
|
Loading…
Reference in New Issue
Block a user