@ -7,6 +7,7 @@ import net.dv8tion.jda.api.entities.MessageEmbed;
import javax.annotation.Nullable ;
import javax.annotation.Nullable ;
import java.util.Collection ;
import java.util.List ;
import java.util.List ;
import static WowneroChanBot.Converter.* ;
import static WowneroChanBot.Converter.* ;
@ -16,7 +17,7 @@ import static WowneroChanBot.WowneroChanBot.*;
public class Responses {
public class Responses {
private static final String WOWNEROCHAN_IMG_URL = "https://i.redd.it/i2ovdj34ze481.png" ;
private static final String WOWNEROCHAN_IMG_URL = "https://i.redd.it/i2ovdj34ze481.png" ;
private static final String WOWNERO_IMG_URL = "https://gitlab.com/simpilldev/discord-wownerochan-bot/-/ blob /master/img/wownero-spin.gif";
private static final String WOWNERO_IMG_URL = "https://gitlab.com/simpilldev/discord-wownerochan-bot/-/ raw /master/img/wownero-spin.gif";
private static final int WOWNERO_PINK = 0xEA12FF ;
private static final int WOWNERO_PINK = 0xEA12FF ;
private static final String EMBED_FOOTER = BOT_NAME + " \uD83E\uDD0D" ;
private static final String EMBED_FOOTER = BOT_NAME + " \uD83E\uDD0D" ;
private static final String COINGECKO_LINK = "https://www.coingecko.com/en/coins/wownero" ;
private static final String COINGECKO_LINK = "https://www.coingecko.com/en/coins/wownero" ;
@ -201,7 +202,7 @@ public class Responses {
final String embedTitle = "CLI Wowlet" ;
final String embedTitle = "CLI Wowlet" ;
final String embedTitleUrl = "https://git.wownero.com/wownero/wownero/releases" ;
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 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 = "https://gitlab.com/simpilldev/discord-wownerochan-bot/-/ blob /master/img/cli-wowlet.png";
final String imgUrl = "https://gitlab.com/simpilldev/discord-wownerochan-bot/-/ raw /master/img/cli-wowlet.png";
return createMessageEmbed ( embedTitle , embedTitleUrl , description , imgUrl , WOWNERO_PINK ) ;
return createMessageEmbed ( embedTitle , embedTitleUrl , description , imgUrl , WOWNERO_PINK ) ;
}
}
@ -217,7 +218,7 @@ public class Responses {
final String embedTitle = "Web Wowlet" ;
final String embedTitle = "Web Wowlet" ;
final String embedTitleUrl = "https://wowstash.app/" ;
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 description = "Wowstash is a web-based wowlet that allows you to use WOW regardless of what device you use." ;
final String imgUrl = "https://gitlab.com/simpilldev/discord-wownerochan-bot/-/ blob /master/img/wow-stash.png";
final String imgUrl = "https://gitlab.com/simpilldev/discord-wownerochan-bot/-/ raw /master/img/wow-stash.png";
return createMessageEmbed ( embedTitle , embedTitleUrl , description , imgUrl , WOWNERO_PINK ) ;
return createMessageEmbed ( embedTitle , embedTitleUrl , description , imgUrl , WOWNERO_PINK ) ;
}
}
@ -243,11 +244,26 @@ public class Responses {
return createMessageEmbed ( embedTitle , embedTitleUrl , description , null , WOWNERO_PINK ) ;
return createMessageEmbed ( embedTitle , embedTitleUrl , description , null , WOWNERO_PINK ) ;
}
}
public List < MessageEmbed > allWowletsReply ( ) {
public List < MessageEmbed > allWowletsReply ( ) {
return List . of ( cliReply ( ) , guiReply ( ) , webReply ( ) , wownerujoReply ( ) , paperReply ( ) ) ;
return List . of ( cliReply ( ) , guiReply ( ) , webReply ( ) , wownerujoReply ( ) , paperReply ( ) ) ;
}
}
public MessageEmbed miningReply ( ) {
String embedTitle = "How to Mine WOW" ;
String embedTitleUrl = "https://forum.wownero.com/t/how-to-solo-mine/551" ;
String description = "" "
Download the [ WOW CLI ] ( https : //git.wownero.com/wownero/wownero/releases)
Extract the downloaded file .
Run the daemon in a terminal with the following command :
` . / wownerod - - start - mining YOUR - ADDRESS - HERE - - spendkey YOUR - SECRET - SPENDKEY - HERE ` .
Replace the ` . / wownerod ` with ` wownerod . exe ` if you are a Windows remtard . "" " ;
String imgUrl = "https://gitlab.com/simpilldev/discord-wownerochan-bot/-/raw/master/img/cpu-mining.png" ;
return createMessageEmbed ( embedTitle , embedTitleUrl , description , imgUrl , WOWNERO_PINK ) ;
}
public MessageEmbed donateReply ( ) {
public MessageEmbed donateReply ( ) {
final String embedTitle = "Donate to the developer :)" ;
final String embedTitle = "Donate to the developer :)" ;
final String embedTitleUrl = "https://wownero.org/" ;
final String embedTitleUrl = "https://wownero.org/" ;
@ -324,4 +340,12 @@ public class Responses {
}
}
return createMessageEmbed ( embedTitle , COINGECKO_LINK , description , null , WOWNERO_PINK ) ;
return createMessageEmbed ( embedTitle , COINGECKO_LINK , description , null , WOWNERO_PINK ) ;
}
}
public MessageEmbed getWowReply ( ) {
String embedTitle = "How to get some WOW" ;
String embedTitleUrl = "https://tradeogre.com/exchange/BTC-WOW" ;
String description = "Buy and sell WOW on [TradeOgre](https://tradeogre.com/exchange/BTC-WOW) ;)" ;
return createMessageEmbed ( embedTitle , embedTitleUrl , description , null , WOWNERO_PINK ) ;
}
}
}