Actions53
- Message Actions
- Channel Actions
- Thread Actions
- Reaction Actions
- Guild (Server) Actions
- Member Actions
- Role Actions
- Voice Actions
- DM Actions
- Webhook Actions
- Invite Actions
Overview
This node interacts with the Discord API to manage invites within a Discord server (guild). Specifically, the 'Delete' operation for the 'Invite' resource allows users to delete an existing invite from a Discord guild. This is useful for managing access and controlling who can join the server via invite links. For example, if an invite link is no longer needed or should be revoked, this operation can be used to delete it.
Use Case Examples
- Deleting an invite link to prevent further access to a Discord server.
- Managing server invites by removing outdated or unauthorized invite links.
Properties
| Name | Meaning |
|---|---|
| Guild ID | The ID of the Discord server (guild) where the invite exists. |
| Additional Fields | Optional parameters related to the invite, such as max age, max uses, temporary membership, and reason for audit logs. |
Output
JSON
code- The invite code.url- The full URL of the invite.maxAge- Maximum age of the invite in seconds.maxUses- Maximum number of uses for the invite.temporary- Whether the invite grants temporary membership.
Dependencies
- Discord API
- An API key credential for Discord bot authentication
Troubleshooting
- Ensure the provided Guild ID is correct and the bot has permissions to manage invites in the guild.
- If the invite to delete does not exist or has already been deleted, the operation will fail.
- Check that the bot token used for authentication is valid and has the necessary scopes to delete invites.