@ -10,12 +10,13 @@ import javax.annotation.Nullable;
import java.util.List ;
import static WowneroChanBot.Converter.* ;
import static WowneroChanBot.Memes.* ;
import static WowneroChanBot.WowneroChanBot.* ;
public class Responses {
private static final String WOWNEROCHAN_IMG_URL = "https://i.redd.it/i2ovdj34ze481.png" ;
private static final String WOWNERO_IMG_URL = "https:// external-preview.redd.it/HRaWRhx24ARVtIzMnzOK-1OmUU7AGlQKU-d4W0G4Ask.jpg?auto=webp&s=57a482fdb8191854e2c3efb54ddca969bb5ff16 f";
private static final String WOWNERO_IMG_URL = "https:// gitlab.com/simpilldev/discord-wownerochan-bot/-/blob/master/img/wownero-spin.gi f";
private static final int WOWNERO_PINK = 0xEA12FF ;
private static final String EMBED_FOOTER = BOT_NAME + " \uD83E\uDD0D" ;
private static final String COINGECKO_LINK = "https://www.coingecko.com/en/coins/wownero" ;
@ -91,23 +92,15 @@ public class Responses {
return createMessageEmbed ( embedTitle , null , richList , null , WOWNERO_PINK ) ;
}
public MessageEmbed memeReply ( ) {
String embedTitle = "Wownero meemee" ;
String embedTitleUrl = "https://suchwow.xyz/post/1160" ;
String [ ] memeData = new Memes ( ) . getRandomMeme ( ) ;
String memeUrl = new Memes ( ) . getLatestMeme ( ) ;
String embedTitle = "Meme from " + memeData [ authorName ] ;
String embedTitleUrl = memeData [ authorUrl ] ;
String description = "Donate some WOW to [" + memeData [ authorName ] + "](" + memeData [ authorUrl ] + "):\n" + memeData [ authorAddress ] ;
if ( memeUrl . equalsIgnoreCase ( "null" ) ) {
return createMessageEmbed ( "Cannot retrieve image :(" , null , null , null , WOWNERO_PINK ) ;
} else {
return createMessageEmbed ( embedTitle , embedTitleUrl , null , memeUrl , WOWNERO_PINK ) ;
}
return createMessageEmbed ( embedTitle , embedTitleUrl , description , memeData [ url ] . equalsIgnoreCase ( "null" ) ? null : memeData [ url ] , WOWNERO_PINK ) ;
}
//Help
public Message helpReply ( String user ) {
final String helpResponse = "Hi " + user + " :) Try \"/commands\" for the full list of commands." ;
return createMessage ( helpResponse ) ;
}
public MessageEmbed commandsReply ( ) {
final String embedTitle = BOT_NAME + " Commands" ;
final String gettingStartedCommandsDescription = "" "
@ -208,11 +201,10 @@ public class Responses {
final String embedTitle = "CLI Wowlet" ;
final String embedTitleUrl = "https://git.wownero.com/wownero/wownero/releases" ;
final String description = "The CLI (command line interface) wowlet is a wowlet that allows you to send, receive and manage your WOW directly from the command line." ;
final String imgUrl = " attachment:/ /img/cli-wowlet.png";
final String imgUrl = " https://gitlab.com/simpilldev/discord-wownerochan-bot/-/blob/master /img/cli-wowlet.png";
return createMessageEmbed ( embedTitle , embedTitleUrl , description , imgUrl , WOWNERO_PINK ) ;
}
public MessageEmbed guiReply ( ) {
final String embedTitle = "Desktop Wowlet" ;
final String embedTitleUrl = "https://git.wownero.com/wowlet/wowlet/releases" ;
@ -221,16 +213,14 @@ public class Responses {
return createMessageEmbed ( embedTitle , embedTitleUrl , description , imgUrl , WOWNERO_PINK ) ;
}
public MessageEmbed webReply ( ) {
final String embedTitle = "Web Wowlet" ;
final String embedTitleUrl = "https://wowstash.app/" ;
final String description = "Wowstash is a web-based wowlet that allows you to use WOW regardless of what device you use." ;
final String imgUrl = "https:// wownero.org/img/Wownero_Le_Gem_Illustration_Asset.sv g";
final String imgUrl = "https:// gitlab.com/simpilldev/discord-wownerochan-bot/-/blob/master/img/wow-stash.pn g";
return createMessageEmbed ( embedTitle , embedTitleUrl , description , imgUrl , WOWNERO_PINK ) ;
}
public MessageEmbed wownerujoReply ( ) {
final String embedTitle = "Wownerujo Wowlet" ;
final String embedTitleUrl = "https://forum.wownero.com/t/how-to-install-wonerujo-android-wallet/358" ;
@ -239,12 +229,11 @@ public class Responses {
return createMessageEmbed ( embedTitle , embedTitleUrl , description , imgUrl , WOWNERO_PINK ) ;
}
public MessageEmbed paperReply ( ) {
final String embedTitle = "Paper Wowlet" ;
final String embedTitleUrl = "https://gitlab.com/simpilldev/discord-monerochan-bot/-/blob/master/guides/paperwalletguide.md" ;
final String description = "" "
A paper wowlet is a piece of paper that contains your public and private keys , usually in plain text or as a QR code .
A paper wowlet is a piece of paper that contains your public and private keys , usually in plain text or as a QR code .
Here ' s a guide I wrote on creating paper wallets for Monero ( same applies for Wownero ) :