not all redeems get fulfilled instantly

This commit is contained in:
2025-12-22 17:39:14 +01:00
parent 92fe7bb75d
commit e24e00701c
2 changed files with 3 additions and 5 deletions

View File

@@ -9,15 +9,15 @@
"@twurple/api": "7.4.0",
"@twurple/auth": "^7.4.0",
"@twurple/eventsub-http": "^7.4.0",
"discord.js": "^14.24.0",
"drizzle-orm": "^0.44.6",
"discord.js": "^14.25.1",
"drizzle-orm": "^0.44.7",
"kleur": "^4.1.5",
},
"devDependencies": {
"@biomejs/biome": "^2.3.8",
"@twurple/eventsub-ngrok": "^7.4.0",
"@types/bun": "latest",
"drizzle-kit": "^0.31.5",
"drizzle-kit": "^0.31.8",
"pg": "^8.16.3",
},
"peerDependencies": {

View File

@@ -14,8 +14,6 @@ eventSub.onChannelRedemptionAdd(streamerId, async (msg) => {
const user = await User.initUsername(msg.userName);
try {
await selection.execute(msg, user!);
if (process.env.NODE_ENV === "production")
await msg.updateStatus("FULFILLED"); // only on prod
} catch (err) {
await sendMessage(
`[ERROR]: Something went wrong with ${user?.displayName}'s redeem!`,