feat(Integration): add missing props and fix docs/types (#6623)

Co-authored-by: Noel <buechler.noel@outlook.com>
This commit is contained in:
Rodry
2021-09-23 12:47:01 +01:00
committed by GitHub
parent 29dd319b68
commit caa3b60c30
6 changed files with 66 additions and 19 deletions

View File

@@ -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