Skip to content

Commit

Permalink
Added NFT banners and logos
Browse files Browse the repository at this point in the history
Amended Help text to prepare for the June 2024 changes

Signed-off-by: Alessio <[email protected]>
  • Loading branch information
slux83 committed Apr 5, 2024
1 parent e0710b6 commit 6e1779e
Show file tree
Hide file tree
Showing 8 changed files with 557 additions and 261 deletions.
Binary file added logo/NFTs/banner_jpg_store.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
215 changes: 215 additions & 0 deletions logo/NFTs/banner_jpg_store.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
344 changes: 90 additions & 254 deletions logo/NFTs/banner_nmkr.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added logo/NFTs/jpg_store_img.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
238 changes: 238 additions & 0 deletions logo/NFTs/jpg_store_img.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package com.devpool.thothBot.telegram.command;

import com.devpool.thothBot.subscription.SubscriptionManager;
import com.pengrad.telegrambot.TelegramBot;
import com.pengrad.telegrambot.model.Update;
import com.pengrad.telegrambot.model.request.ParseMode;
Expand Down Expand Up @@ -42,6 +43,9 @@ public class HelpCmd implements IBotCommand {
@Autowired
private List<IBotCommand> commands;

@Autowired
private SubscriptionManager subscriptionManager;

@Override
public boolean canTrigger(String username, String message) {
return message.equals(CMD_PREFIX) || message.equals(CMD_PREFIX_ALIAS);
Expand Down Expand Up @@ -111,7 +115,11 @@ 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:"));
sb.append(helpText);

// Grab the subscription help text
sb.append(this.subscriptionManager.getHelpText());
} catch (IOException e) {
LOG.error("IO Exception while loading the help text {}", e, e);
}
Expand Down
4 changes: 2 additions & 2 deletions src/main/resources/help.cdm.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
%information_source <u>Some useful info</u>
$url
If you would like to support the Bot development, consider staking your wallet to the Stake Pool <a href="https://pool.pm/ca97f539e6a878e7a7d87d762982a016ac6959d76719c8212a4a39e0">DEV</a> that donates part of the rewards directly to African families to support education and career development.
You can also buy me a coffee %coffee with some ADA using the handle <a href="https://handle.me/thoth-bot">$thoth-bot</a>

%speech_balloon <u>Available commands</u>
$commands
%speaking_head_in_silhouette Join the <a href="https://t.me/cardano_thoth_bot_discussions">Cardano Thoth Bot Discussions</a> channel on Telegram!
%admission_ticket <u>Utility NFTs</u>

9 changes: 4 additions & 5 deletions src/main/resources/subscription-help.html
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
Every user has the right to follow 1 account or address for free.
Any account currently staking with <a href="https://pool.pm/ca97f539e6a878e7a7d87d762982a016ac6959d76719c8212a4a39e0">DEV pool</a> can be also subscribed for free.

If you would like get notifications for additional accounts or addresses, follow one of these steps.
1 NFT = 1 additional subscription
If you would like get notifications for additional accounts or addresses, you can <a href="https://pay.nmkr.io/?p=aa699f924a3946a0b92dcb53c0a6ea41&c=1">buy the Utility Thoth NFT with NMKR</a>
Remember, 1 NFT = 1 additional subscription

%white_small_square You can obtain additional Thoth NFTs by staking with <a href="https://pool.pm/ca97f539e6a878e7a7d87d762982a016ac6959d76719c8212a4a39e0">DEV pool</a> and in this case you can purchase the NFTs at 90% discount. <a href="https://pay.nmkr.io/?p=97375b22779d4d329906e2d3402cbac4&c=1">Buy Thoth NFT at discount with NMKR</a>

%white_small_square If you don't want to stake with DEV pool, you can purchase the Thoth NFTs at full price. <a href="https://pay.nmkr.io/?p=aa699f924a3946a0b92dcb53c0a6ea41&c=1">Buy Thoth NFT with NMKR</a>
You can also trade the NFTs via <a href="https://www.jpg.store/collection/thoth-bot-utility-nfts">jpg.store</a>.
They have no expiration and the collection has a total supply of 500 NFTs!

%speaking_head_in_silhouette Join the <a href="https://t.me/cardano_thoth_bot_discussions">Cardano Thoth Bot Discussions</a> channel on Telegram!

0 comments on commit 6e1779e

Please sign in to comment.