mirror of
https://github.com/tiennm99/store-scraper-bot-java.git
synced 2026-05-14 09:53:03 +00:00
Update Main.java
This commit is contained in:
@@ -24,6 +24,8 @@ import org.telegram.telegrambots.longpolling.TelegramBotsLongPollingApplication;
|
||||
public class Main {
|
||||
|
||||
public static void main(String[] args) {
|
||||
System.setProperty("log4j2.plugin.scan", "true");
|
||||
|
||||
AdminRepository.INSTANCE.init();
|
||||
|
||||
try (var botsApplication = new TelegramBotsLongPollingApplication()) {
|
||||
|
||||
Reference in New Issue
Block a user