Skip to main content

transformMessageSnapshot

@discordeno/botDocs


Documentation / @discordeno/bot / transformMessageSnapshot

Function: transformMessageSnapshot()

transformMessageSnapshot(bot, payload): typeof bot.transformers.$inferredTypes.messageSnapshot

Parameters

bot: InternalBot

payload

payload.messageSnapshot: DiscordMessageSnapshot

payload.shardId: number

Returns

typeof bot.transformers.$inferredTypes.messageSnapshot

Defined in

packages/bot/src/transformers/message.ts:264