MCPcopy Index your code
hub / github.com/codebymitch/TitanBot / getEmbedDescription

Function getEmbedDescription

tests/prefixResponse.test.js:57–60  ·  view source on GitHub ↗
(payload)

Source from the content-addressed store, hash-verified

55}
56
57function getEmbedDescription(payload) {
58 const embed = payload.embeds?.[0];
59 return embed?.data?.description ?? embed?.description ?? '';
60}
61
62test('ResponseCoordinator respondUsage finalizes and blocks second respond', async () => {
63 const { message, sentMessages } = createMockMessage();

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected