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 perform various voice channel operations on members within a Discord server (guild). Specifically, the 'Deafen Member' operation allows the bot to server-deafen a specified user, meaning the user will not be able to hear others in the voice channel. This is useful for moderation purposes or managing voice channel interactions in a Discord community.
Use Case Examples
- A moderator wants to deafen a disruptive user in a voice channel to prevent them from hearing others.
- Automated moderation bots can deafen users who violate voice channel rules temporarily.
Properties
| Name | Meaning |
|---|---|
| Guild ID | The ID of the Discord server (guild) where the voice operation will be performed. |
| User ID | The ID of the user to be deafened in the voice channel. |
| Additional Fields | Optional additional parameters such as embed JSON, text-to-speech flag, reason for action, and other Discord-related settings that may be used in other operations but are available here as part of the collection. |
Output
JSON
success- Indicates if the deafen operation was successful.userId- The ID of the user who was deafened.deafened- Boolean indicating the user is deafened (true).
Dependencies
- Discord API
- Bot token credential for authentication
Troubleshooting
- Ensure the bot has the necessary permissions to deafen members in the guild's voice channels.
- Verify that the user specified is currently connected to a voice channel; otherwise, the operation will fail with an error indicating the member is not in a voice channel.
- Check that the provided Guild ID and User ID are correct and that the bot is a member of the guild.