delete_channel(Args{channel_id: trigger.channel_id})
Inputs
Channel IDRequired
ID of the channel to delete.
Build a bot using blocks like Delete Channel
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_channelInputs
| Field | InventScript name | Value |
|---|---|---|
| Channel ID | channel_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.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.Delete Channel PermissionDelete a channel permission overwrite for a user or role.