MCPcopy Index your code
hub / github.com/AnswerOverflow/AnswerOverflow / findMessageById

Function findMessageById

packages/core/src/message.ts:165–171  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

163}
164
165export async function findMessageById(id: string) {
166 return db
167 .select()
168 .from(dbMessages)
169 .where(eq(dbMessages.id, id))
170 .then((x) => x.at(0));
171}
172
173export async function findMessageByIdWithDiscordAccount(id: string) {
174 return dbReplica.query.dbMessages

Callers 8

message.test.tsFile · 0.90
channel.test.tsFile · 0.90
findMessageResultPageFunction · 0.90
runMethod · 0.90
runMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected