Skip to main content

transformMessage

Documentation


Documentation / @discordeno/bot / transformMessage

Function: transformMessage()

transformMessage(bot, payload): SetupDesiredProps<Message, CompleteDesiredProperties<{ }, true>, RemoveKey>

Defined in: bot/src/transformers/message.ts:139

Parameters

bot

InternalBot

payload

message

DiscordMessage

shardId

number

Returns

SetupDesiredProps<Message, CompleteDesiredProperties<{ }, true>, RemoveKey>