mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-11 17:13:31 +01:00
feat(Integration): add missing props and fix docs/types (#6623)
Co-authored-by: Noel <buechler.noel@outlook.com>
This commit is contained in:
@@ -348,6 +348,16 @@ exports.InviteScopes = [
|
||||
'webhook.incoming',
|
||||
];
|
||||
|
||||
// TODO: change Integration#expireBehavior to this and clean up Integration
|
||||
/**
|
||||
* The behavior of expiring subscribers for Integrations. This can be:
|
||||
* * REMOVE_ROLE
|
||||
* * KICK
|
||||
* @typedef {string} IntegrationExpireBehavior
|
||||
* @see {@link https://discord.com/developers/docs/resources/guild#integration-object-integration-expire-behaviors}
|
||||
*/
|
||||
exports.IntegrationExpireBehaviors = createEnum(['REMOVE_ROLE', 'KICK']);
|
||||
|
||||
/**
|
||||
* The type of a message, e.g. `DEFAULT`. Here are the available types:
|
||||
* * DEFAULT
|
||||
|
||||
Reference in New Issue
Block a user