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