Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
megoRU committed Nov 9, 2024
1 parent 40fe410 commit 2b36f31
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/main/config/BotStart.java
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ public BotStart(ActiveGiveawayRepository activeGiveawayRepository,
}

@PostConstruct
public synchronized void startBot() {
public void startBot() {
try {
//Загружаем GiveawayRegistry
GiveawayRegistry.getInstance();
Expand Down Expand Up @@ -146,7 +146,7 @@ public synchronized void startBot() {
System.out.println("IsDevMode: " + Config.isIsDev());

//Обновить команды
// updateSlashCommands();
updateSlashCommands();
System.out.println("20:22");
} catch (Exception e) {
LOGGER.log(Level.SEVERE, e.getMessage(), e);
Expand Down

0 comments on commit 2b36f31

Please sign in to comment.