diff --git a/src/toOpenAIMessages.ts b/src/toOpenAIMessages.ts index 5e21a7e..5f97681 100644 --- a/src/toOpenAIMessages.ts +++ b/src/toOpenAIMessages.ts @@ -31,7 +31,14 @@ export function formatMessage(message: DiscordMessage): string { rvalue += "]"; } - return rvalue; + for (const sticker of message.stickers.values()) { + rvalue += ` [Sticker:`; + rvalue += sticker.name; + rvalue += sticker.description ? ` - ${sticker.description}` : ""; + rvalue += "]"; + } + + return rvalue.trim(); } /**