From 0766fb92fdb7d85c7b5f555745cc89b042f5df0d Mon Sep 17 00:00:00 2001 From: Faab007NL Date: Mon, 6 Sep 2021 13:46:18 +0200 Subject: [PATCH] Removed :loading: and added a loading gif thumbnail --- .../TechDiscordBot/module/cmds/RestartCommand.java | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/main/java/me/TechsCode/TechDiscordBot/module/cmds/RestartCommand.java b/src/main/java/me/TechsCode/TechDiscordBot/module/cmds/RestartCommand.java index aed5def5..cdbc32e1 100644 --- a/src/main/java/me/TechsCode/TechDiscordBot/module/cmds/RestartCommand.java +++ b/src/main/java/me/TechsCode/TechDiscordBot/module/cmds/RestartCommand.java @@ -70,8 +70,9 @@ public void onCommand(TextChannel channel, Member member, SlashCommandEvent e) { String service = Objects.requireNonNull(e.getOption("service")).getAsString(); if(service.equalsIgnoreCase("Bot")) { - e.replyEmbeds(new TechEmbedBuilder("Restart Status Loading :loading:") + e.replyEmbeds(new TechEmbedBuilder("Restart Status Loading...") .text("Restarting Bot :loading:") + .thumbnail("https://i.ibb.co/9gth0SW/1496.gif") .color(Color.ORANGE) .build() ).queue(q ->{ @@ -92,8 +93,9 @@ public void onCommand(TextChannel channel, Member member, SlashCommandEvent e) { }); }else if(service.equalsIgnoreCase("API")) { if(ADMIN_ROLES.query().stream().anyMatch(r -> member.getRoles().contains(r))) { - e.replyEmbeds(new TechEmbedBuilder("API Restart Status Loading :loading:") - .text("Restarting API :loading:") + e.replyEmbeds(new TechEmbedBuilder("API Restart Status Loading...") + .text("Restarting API...") + .thumbnail("https://i.ibb.co/9gth0SW/1496.gif") .color(Color.ORANGE) .build() ).queue(q -> {