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

@@ -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!`,