delete
Lets you delete a message with the specific messageid
Example
bot.new_eventlistener({
Event = "MESSAGE_CREATE",
Callback = function(data)
local is_bot = data.author.bot
if is_bot then return end
local channel_id = data.channel_id
local message_id = data.id
delete(channel_id, message_id)
end
})
Last updated