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

Function saveTicketData

src/utils/database.js:574–581  ·  view source on GitHub ↗
(guildId, channelId, data)

Source from the content-addressed store, hash-verified

572}
573
574export async function saveTicketData(guildId, channelId, data) {
575 if (!db.initialized) {
576 await db.initialize();
577 }
578
579 const key = getTicketKey(guildId, channelId);
580 await db.set(key, data);
581}
582
583export async function deleteTicketData(guildId, channelId) {
584 if (!db.initialized) {

Callers 10

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

Calls 3

getTicketKeyFunction · 0.85
initializeMethod · 0.80
setMethod · 0.45

Tested by

no test coverage detected