Method DeleteChannel
|
Improve this Doc
View Source
DeleteChannel(Snowflake)
Deletes a guild channel, or closes a DM.
Requires ManageChannels if deleting a guild channel.
Declaration
public Task<DiscordChannel> DeleteChannel(Snowflake channelId)
Parameters
Returns
Exceptions
|
Improve this Doc
View Source
DeleteChannel(DiscordChannel)
Deletes a guild channel, or closes a DM.
Requires ManageChannels if deleting a guild channel.
Declaration
public Task<DiscordChannel> DeleteChannel(DiscordChannel channel)
Parameters
Returns
Exceptions
|
Improve this Doc
View Source
DeleteChannel<T>(T)
Deletes a guild channel, or closes a DM.
Requires ManageChannels if deleting a guild channel.
Declaration
public Task<T> DeleteChannel<T>(T channel) where T : DiscordChannel
Parameters
| Type |
Name |
Description |
| T |
channel |
|
Returns
Type Parameters
Exceptions
|
Improve this Doc
View Source
DeleteChannel<T>(Snowflake)
Deletes a guild channel, or closes a DM.
Requires ManageChannels if deleting a guild channel.
Declaration
public Task<T> DeleteChannel<T>(Snowflake channelId) where T : DiscordChannel
Parameters
Returns
Type Parameters
Exceptions