Skip to content

Commit

Permalink
app: Update search timer to 2 minutes for now.
Browse files Browse the repository at this point in the history
  • Loading branch information
adambirds committed Jun 17, 2024
1 parent 2cb89c9 commit 4ab74e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -720,7 +720,7 @@ async def event_eventsub_notification_followV2(
# We need to check if a giveaway exists for the new follower (they may have unfollowed and refollowed), so we need to delete the old giveaway and create a new one.
if await FollowerGiveaway.get_or_none(channel=channel, follower=player.name.lower()):
await FollowerGiveaway.get(channel=channel, follower=player.name.lower()).delete()
await FollowerGiveaway.create(channel=channel, end_time=datetime.datetime.now() + datetime.timedelta(seconds=30), follower=player.name.lower())
await FollowerGiveaway.create(channel=channel, end_time=datetime.datetime.now() + datetime.timedelta(seconds=120), follower=player.name.lower())
else:
pass

Expand Down

0 comments on commit 4ab74e5

Please sign in to comment.