Skip to content

Commit

Permalink
fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
topi314 committed Feb 17, 2021
1 parent 22253a9 commit 4aa8494
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ public void run(Options options, CommandContext ctx){
ctx.getModules().schedule(() -> {
var commandsModule = ctx.get(CommandsModule.class);
commandsModule.deleteAllCommands(-1L);
ctx.followup(new FollowupMessage.Builder().setEmbeds(new EmbedBuilder().setColor(Colors.KITTYBOT_BLUE).setDescription("emoved slash commands globally").build()).build());
ctx.followup(new FollowupMessage.Builder().setEmbeds(new EmbedBuilder().setColor(Colors.KITTYBOT_BLUE).setDescription("Removed slash commands globally").build()).build());
}, 0, TimeUnit.SECONDS);
return;
}
Expand All @@ -120,7 +120,7 @@ public void run(Options options, CommandContext ctx){
ctx.getModules().schedule(() -> {
var commandsModule = ctx.get(CommandsModule.class);
commandsModule.deleteAllCommands(guildId);
ctx.followup(new FollowupMessage.Builder().setEmbeds(new EmbedBuilder().setColor(Colors.KITTYBOT_BLUE).setDescription("Omitted slash commands for guild `" + guildId + "`").build()).build());
ctx.followup(new FollowupMessage.Builder().setEmbeds(new EmbedBuilder().setColor(Colors.KITTYBOT_BLUE).setDescription("Removed slash commands for guild `" + guildId + "`").build()).build());
}, 0, TimeUnit.SECONDS);
}

Expand Down

0 comments on commit 4aa8494

Please sign in to comment.