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

Function getTicketData

src/utils/database.js:525–532  ·  view source on GitHub ↗
(guildId, channelId)

Source from the content-addressed store, hash-verified

523}
524
525export async function getTicketData(guildId, channelId) {
526 if (!db.initialized) {
527 await db.initialize();
528 }
529
530 const key = getTicketKey(guildId, channelId);
531 return await db.get(key);
532}
533
534export async function getOpenTicketCountForUser(guildId, userId) {
535 try {

Callers 11

executeFunction · 0.90
executeFunction · 0.90
executeFunction · 0.90
closeTicketFunction · 0.90
claimTicketFunction · 0.90
reopenTicketFunction · 0.90
deleteTicketFunction · 0.90
unclaimTicketFunction · 0.90
updateTicketPriorityFunction · 0.90
executeFunction · 0.90

Calls 3

getTicketKeyFunction · 0.85
initializeMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected