mirror of
https://gitlab.com/qwerinope/qweribot.git
synced 2026-02-04 07:56:58 +01:00
not all redeems get fulfilled instantly
This commit is contained in:
@@ -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!`,
|
||||
|
||||
Reference in New Issue
Block a user