import { type UpdateMessagesDeleted } from "https://deno.land/x/mtkruto@0.6.2/3_types.ts";
One or more messages were deleted.
client.on("deletedMessages", (ctx) => {
for (const deletedMessage of ctx.deletedMessages) {
console.log(deletedMessage);
}
});
Properties
deletedMessages: MessageReference[]
The deleted messages