File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
src/main/java/com/diamondfire/helpbot/bot Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ public static void initialize() throws LoginException {
5454 new FetchDataCommand (),
5555 new InfoCommand (),
5656 new EvalCommand (),
57- // new GarfieldCommand(), - Dead
57+ new GarfieldCommand (),
5858 new HelpCommand (),
5959 new RestartCommand (),
6060 new ActionDumpCommand (),
Original file line number Diff line number Diff line change @@ -41,9 +41,9 @@ public Permission getPermission() {
4141 public void run (CommandEvent event ) {
4242 EmbedBuilder builder = new EmbedBuilder ();
4343 try {
44- URL url = new URL ("https://labscore.vercel.app/v2/garfield " );
44+ URL url = new URL ("https://garfield.justsomederpyst.repl.co/random " );
4545 try (BufferedReader in = new BufferedReader (new InputStreamReader (url .openStream ()))) {
46- String link = JsonParser .parseString (in .readLine ()).getAsJsonObject ().get ("link " ).getAsString ();
46+ String link = JsonParser .parseString (in .readLine ()).getAsJsonObject ().get ("direct_url " ).getAsString ();
4747
4848 if (link == null ) {
4949 throw new IOException ();
You can’t perform that action at this time.
0 commit comments