Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
megoRU committed Nov 7, 2024
1 parent a212e3e commit 42a2d54
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
8 changes: 1 addition & 7 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,7 @@
<dependency>
<groupId>net.dv8tion</groupId>
<artifactId>JDA</artifactId>
<version>5.1.2</version>
<exclusions>
<exclusion>
<groupId>club.minnced</groupId>
<artifactId>opus-java</artifactId>
</exclusion>
</exclusions>
<version>5.2.0</version>
</dependency>

<!-- https://github.com/boticord/boticordjava -->
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/main/config/BotStart.java
Original file line number Diff line number Diff line change
Expand Up @@ -561,7 +561,7 @@ public void setGiveawayAndUsersInGift() {
}
}

@Scheduled(fixedDelay = 1, initialDelay = 1, timeUnit = TimeUnit.SECONDS)
@Scheduled(fixedDelay = 2, initialDelay = 1, timeUnit = TimeUnit.SECONDS)
public void stopGiveawayTimer() {
GiveawayRegistry instance = GiveawayRegistry.getInstance();
List<Giveaway> giveawayDataList = new LinkedList<>(instance.getAllGiveaway());
Expand Down

0 comments on commit 42a2d54

Please sign in to comment.