delete_channel_permission(Args{channel_id: trigger.channel_id, user_or_role_id: "..."})
Delete Channel Permission
BlockChannels
Delete a channel permission overwrite for a user or role.
Inputs
Channel IDRequired
ID of the channel to delete permissions for.
User or Role IDRequired
ID of the user or role to delete permissions for.
Build a bot using blocks like Delete Channel Permission
Use this block in our visual flow editor. Bots are hosted 24/7 for free on inventor.bot.
Advanced Documentation
This documentation can be useful when using code mode. View as Markdown
ID:
delete_channel_permissionInputs
| Field | InventScript name | Value |
|---|---|---|
| Channel ID | channel_id | |
| User or Role ID | user_or_role_id |
Example InventScript
More channels blocks
Get ChannelRetrieve a Discord channel's information by its ID.Create ChannelCreate a text/voice/stage/etc channel or channel category in a server.Modify ChannelModify a channel's information by its ID.Move ChannelMove a channel to a new category.Move Member to Voice ChannelMove a member from one voice channel to another.Get ChannelsRetrieve a Discord server's channels by its ID.Delete ChannelDelete a Discord channel by its ID.Trigger Typing IndicatorTrigger a typing indicator in a channel.Set Channel PermissionsSet allowed and denied permission overrides for a user or role in a channel. Supports setting both allow and deny in one block, and can either replace existing overrides or update them.