From 95ebb0e982fff8638aba366239a180655eb710e5 Mon Sep 17 00:00:00 2001 From: dust-19 <75648013+dust-19@users.noreply.github.com> Date: Thu, 8 Apr 2021 15:34:55 -0400 Subject: [PATCH 1/2] added some ideas (#36) was bored --- .../bot/command/impl/other/IdeaCommand.java | 48 ++++++++++++++++--- 1 file changed, 42 insertions(+), 6 deletions(-) diff --git a/src/main/java/com/diamondfire/helpbot/bot/command/impl/other/IdeaCommand.java b/src/main/java/com/diamondfire/helpbot/bot/command/impl/other/IdeaCommand.java index 6ea01de4..c8144dbd 100644 --- a/src/main/java/com/diamondfire/helpbot/bot/command/impl/other/IdeaCommand.java +++ b/src/main/java/com/diamondfire/helpbot/bot/command/impl/other/IdeaCommand.java @@ -81,7 +81,10 @@ public void run(CommandEvent event) { "A turn-based game", "A strategy game", "A bullet hell game", - + "A skyblock game", + "An educational game", + "A generic wire game", + "A grindy game" }; String[] objectives = new String[]{ "where you adopt hamsters", @@ -138,6 +141,28 @@ public void run(CommandEvent event) { "where you are staff", "where you break people's hearts", "where you rap like a god", + "where Ottelino rejoins the discord yet again", + "where you join the events team", + "where you get Discord Nitro", + "where you post clips", + "where you contribute to HelpBot", + "where Fejiberglibstein gives you big crazies", + "where Refriz says uwu", + "where you request support", + "where you ban people", + "where you post memes", + "where you go on a DiamondFire rant", + "where you perform big codes", + "where you break HelpBot", + "where you do the RyanLand", + "where you become a redditor", + "where you retire", + "where you generate samquotes", + "where you accidentally the cat", + "where Owen posts another strange video", + "where you admire hedgehogs", + "where you wear a mask", + "where you set a computer on fire", }; String[] rewards = new String[]{ "for pleasure.", @@ -191,16 +216,27 @@ public void run(CommandEvent event) { "for good game ideas.", "for a volcano eruption.", "for the new DiamondFire update.", + "to get banned.", + "for samquotes.", + "for love.", + "for Robot Game levels.", + "for Hypercube source code.", + "for warm blankets.", + "for the labsCore API.", + "for V-Bucks.", + "to get hugs from Owen.", + "to eat food.", + "for red pandas", + "to avoid COVID-19", }; Random rdm = new Random(); EmbedBuilder builder = new EmbedBuilder(); - - builder.setTitle("Idea"); - builder.setDescription(types[rdm.nextInt(types.length)] + " " + objectives[rdm.nextInt(objectives.length)] + " " + rewards[rdm.nextInt(rewards.length)]); - + + builder.setTitle("Idea"); + builder.setDescription(types[rdm.nextInt(types.length)] + " " + objectives[rdm.nextInt(objectives.length)] + " " + rewards[rdm.nextInt(rewards.length)]); + event.getChannel().sendMessage(builder.build()).queue(); } } - From 8b22ddac2431e57582fb8045436d75edddf6214d Mon Sep 17 00:00:00 2001 From: Owen1212055 <23108066+Owen1212055@users.noreply.github.com> Date: Thu, 8 Apr 2021 15:35:04 -0400 Subject: [PATCH 2/2] oop --- .../helpbot/sys/externalfile/ExternalFiles.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/main/java/com/diamondfire/helpbot/sys/externalfile/ExternalFiles.java b/src/main/java/com/diamondfire/helpbot/sys/externalfile/ExternalFiles.java index e365aae2..95799afc 100644 --- a/src/main/java/com/diamondfire/helpbot/sys/externalfile/ExternalFiles.java +++ b/src/main/java/com/diamondfire/helpbot/sys/externalfile/ExternalFiles.java @@ -1,6 +1,7 @@ package com.diamondfire.helpbot.sys.externalfile; import java.io.File; +import java.net.URL; public interface ExternalFiles { @@ -48,4 +49,10 @@ public interface ExternalFiles { .setName("swear_filter") .setFileType("json") .buildFile(); + + File SAMMAN = new ExternalFileBuilder() + .isDirectory(false) + .setName("samman") + .setFileType("png") + .buildFile(); }