Initial Commit

master
simpilldev 2 years ago
parent e4c9474a78
commit b4e2afedc9

Binary file not shown.

@ -21,6 +21,9 @@ public class Commands extends ListenerAdapter {
private static final String HELP_COMMAND = "/help";
private static final String COMMANDS_COMMAND = "/commands";
private static final String GET_WOW_COMMAND = "/getwow";
private static final String MINING_COMMAND = "/minewow";
private static final String MEMES_COMMAND = "/meme";
private static final String CHOOSE_WOWLET_COMMAND = "/choosewowlet";
@ -58,6 +61,8 @@ public class Commands extends ListenerAdapter {
case GETTING_STARTED_COMMAND -> messageChannel.sendMessageEmbeds(responses.gettingStartedReply()).queue();
case ELI5_COMMAND -> messageChannel.sendMessageEmbeds(responses.eliFiveReply()).queue();
case COMMANDS_COMMAND, HELP_COMMAND -> messageChannel.sendMessageEmbeds(responses.commandsReply()).queue();
case MINING_COMMAND -> messageChannel.sendMessageEmbeds(responses.miningReply()).queue();
case GET_WOW_COMMAND -> messageChannel.sendMessageEmbeds(responses.getWowReply()).queue();
case MEMES_COMMAND -> messageChannel.sendMessageEmbeds(responses.memeReply()).queue();
case RICH_LIST_COMMAND -> messageChannel.sendMessageEmbeds(responses.richListReply()).queue();
case DONATE_COMMAND -> messageChannel.sendMessageEmbeds(responses.donateReply()).queue();

@ -7,6 +7,7 @@ import net.dv8tion.jda.api.entities.MessageEmbed;
import javax.annotation.Nullable;
import java.util.Collection;
import java.util.List;
import static WowneroChanBot.Converter.*;
@ -16,7 +17,7 @@ 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://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 String EMBED_FOOTER = BOT_NAME + " \uD83E\uDD0D";
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 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 = "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);
}
@ -217,7 +218,7 @@ public class Responses {
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://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);
}
@ -243,11 +244,26 @@ public class Responses {
return createMessageEmbed(embedTitle, embedTitleUrl, description, null, WOWNERO_PINK);
}
public List<MessageEmbed> allWowletsReply() {
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() {
final String embedTitle = "Donate to the developer :)";
final String embedTitleUrl = "https://wownero.org/";
@ -324,4 +340,12 @@ public class Responses {
}
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);
}
}

@ -25,8 +25,6 @@ public class WowneroChanBot {
.enableIntents(GatewayIntent.GUILD_MEMBERS)
.addEventListeners(new Commands(), new MemberJoinResponse(), new ServerJoinResponse())
.build();
new Memes().getRandomMeme();
}
}

Loading…
Cancel
Save