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:
6
bun.lock
6
bun.lock
@@ -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": {
|
||||
|
||||
@@ -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