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

Function getGiveawayInteractionKey

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

Source from the content-addressed store, hash-verified

11const GIVEAWAY_INTERACTION_COOLDOWN = 1000;
12
13function getGiveawayInteractionKey(userId, giveawayId) {
14 return `giveaway:${userId}:${giveawayId}`;
15}
16
17export function parseDuration(durationString) {
18 if (!durationString || typeof durationString !== 'string') {

Callers 2

isUserRateLimitedFunction · 0.85
recordUserInteractionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected