Add deletemessage to discordchannelsSolved

Hello,
I've been working on my plugin using discord interactions and I need to delete previously created messages using message id.
I have found a function called BulkDeleteMessages but that doesn't allow to delete a singular message.

Hey, you can use the below code to delete a single message. If you already have the channel object you don't need to load it again. Another option is that if the message is only temporary you can send a MessageFlags.Ephemeral message. If you have any more questions feel free to add me on Discord MJSU#0814.

DiscordChannel.GetChannel(_client, new Snowflake(123), channel =>
{
    channel.GetChannelMessage(_client, new Snowflake(1234), message =>
    {
        message.DeleteMessage(_client);   
    });
});​

Thanks, That helps a lot ^^

Locked automatically