diff --git a/pom.xml b/pom.xml index e397ac81..f1b94c45 100644 --- a/pom.xml +++ b/pom.xml @@ -17,7 +17,7 @@ 11 - 6.9.0 + 7.2.1 2021.0.4 1.18.1 5.1.1 @@ -120,6 +120,7 @@ org.springframework.boot spring-boot-maven-plugin + ${parent.version} diff --git a/src/main/java/com/devpool/thothBot/subscription/SubscriptionManager.java b/src/main/java/com/devpool/thothBot/subscription/SubscriptionManager.java index 25b50567..3cd43774 100644 --- a/src/main/java/com/devpool/thothBot/subscription/SubscriptionManager.java +++ b/src/main/java/com/devpool/thothBot/subscription/SubscriptionManager.java @@ -284,8 +284,8 @@ private Map> getAccountsAssets(Map> } } - if (LOG.isDebugEnabled()) - LOG.debug("Retrieved account assets: {}", outcome); + if (LOG.isTraceEnabled()) + LOG.trace("Retrieved account assets: {}", outcome); return outcome; } @@ -341,8 +341,8 @@ private Map> getAddressesAssets(Map> } } - if (LOG.isDebugEnabled()) - LOG.debug("Retrieved account assets: {}", outcome); + if (LOG.isTraceEnabled()) + LOG.trace("Retrieved addresses assets: {}", outcome); return outcome; } diff --git a/src/main/java/com/devpool/thothBot/telegram/TelegramFacade.java b/src/main/java/com/devpool/thothBot/telegram/TelegramFacade.java index f1100643..8268f1c8 100644 --- a/src/main/java/com/devpool/thothBot/telegram/TelegramFacade.java +++ b/src/main/java/com/devpool/thothBot/telegram/TelegramFacade.java @@ -120,7 +120,7 @@ public void processUpdate(Update update, TelegramBot bot) { } else if (update.callbackQuery() != null) { payload = update.callbackQuery().data(); from = update.callbackQuery().from().username(); - id = update.callbackQuery().message().chat().id(); + id = update.callbackQuery().maybeInaccessibleMessage().chat().id(); } else { LOG.warn("Update.message and callbackQuery are null"); return; diff --git a/src/main/java/com/devpool/thothBot/telegram/command/HelpCmd.java b/src/main/java/com/devpool/thothBot/telegram/command/HelpCmd.java index f140b6f9..95143f64 100644 --- a/src/main/java/com/devpool/thothBot/telegram/command/HelpCmd.java +++ b/src/main/java/com/devpool/thothBot/telegram/command/HelpCmd.java @@ -115,7 +115,7 @@ private String getHelpText(String username) { helpText = helpText.replace("%information_source", EmojiParser.parseToUnicode(":information_source:")); helpText = helpText.replace("%speech_balloon", EmojiParser.parseToUnicode(":speech_balloon:")); helpText = helpText.replace("%speaking_head_in_silhouette", EmojiParser.parseToUnicode(":speaking_head_in_silhouette:")); - helpText = helpText.replace("%admission_ticket", EmojiParser.parseToUnicode(":admission_ticket:")); + helpText = helpText.replace("%art", EmojiParser.parseToUnicode(":art:")); sb.append(helpText); // Grab the subscription help text diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index a627b22f..20d61417 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -41,7 +41,7 @@ thoth: fetching: false subscription: nft: - stake-policy-id: 4e22095c8ffb8113206e788af55986eb70577f4e7b32f6ded0b0a855 + stake-policy-id: DISABLED free-for-all-policy-id: f7a721351f7b121a7c0f853a0216d28dae80d0fb13f1aa96e8d78b5f dapps: contracts: diff --git a/src/main/resources/help.cdm.html b/src/main/resources/help.cdm.html index aa3e1f6e..536e66c4 100644 --- a/src/main/resources/help.cdm.html +++ b/src/main/resources/help.cdm.html @@ -8,5 +8,5 @@ %speech_balloon Available commands $commands -%admission_ticket Utility NFTs +%art Utility NFTs