mirror of
https://github.com/discordeno/discordeno.git
synced 2026-09-18 17:27:23 +00:00
fix udate
This commit is contained in:
@@ -5,5 +5,7 @@ import { SnakeCasedPropertiesDeep } from "../../types/util.ts";
|
||||
|
||||
export async function handleMessageUpdate(bot: Bot, data: DiscordGatewayPayload) {
|
||||
const payload = data.d as SnakeCasedPropertiesDeep<Message>;
|
||||
if (!payload.edited_timestamp) return;
|
||||
|
||||
bot.events.messageUpdate(bot, bot.transformers.message(bot, payload));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user