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

Function deleteTicketData

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

Source from the content-addressed store, hash-verified

581}
582
583export async function deleteTicketData(guildId, channelId) {
584 if (!db.initialized) {
585 await db.initialize();
586 }
587
588 const key = getTicketKey(guildId, channelId);
589 await db.delete(key);
590}
591
592export function getTicketCounterKey(guildId) {
593 return `guild:${guildId}:ticket:counter`;

Callers

nothing calls this directly

Calls 3

getTicketKeyFunction · 0.85
initializeMethod · 0.80
deleteMethod · 0.45

Tested by

no test coverage detected