mirror of
https://gitlab.com/qwerinope/qweribot.git
synced 2026-02-04 09:46:57 +01:00
move lootbox cooldown to redis because of timezone garbage
This commit is contained in:
@@ -117,7 +117,8 @@ for (const sub of subs) {
|
||||
redisSubs.map(async a => await redis.del(`user:${a}:subbed`));
|
||||
|
||||
const streamdata = await api.streams.getStreamByUserId(streamerId);
|
||||
if (streamdata) await redis.set('streamIsLive', '1');
|
||||
if (streamdata) await redis.set('streamIsLive', '1')
|
||||
else await redis.del('streamIsLive');
|
||||
|
||||
await import("./events");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user