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

Function recordUserInteraction

src/services/giveawayService.js:260–266  ·  view source on GitHub ↗
(userId, giveawayId)

Source from the content-addressed store, hash-verified

258}
259
260export async function recordUserInteraction(userId, giveawayId) {
261 await checkRateLimit(
262 getGiveawayInteractionKey(userId, giveawayId),
263 1,
264 GIVEAWAY_INTERACTION_COOLDOWN,
265 );
266}
267
268export async function endGiveaway(client, giveaway, guildId, endedBy) {
269 try {

Callers 1

executeFunction · 0.90

Calls 2

checkRateLimitFunction · 0.90

Tested by

no test coverage detected