mirror of
https://github.com/Sheldan/abstracto.git
synced 2026-04-14 03:45:57 +00:00
[AB-53] adding economy related commands
adding runtime exception to root command handling adding simple custom command module disabling slash command for show emote the utility is not given (the bot cannot show any emotes from servers its not in) fixing post target setup not allowing threads fixing post targets not supporting threads fixing interactions not considering the actual amount of embeds fixing some cases for events which are not in a guild
This commit is contained in:
@@ -44,7 +44,7 @@ import java.util.concurrent.CompletableFuture;
|
||||
public class LeaderBoardCommand extends AbstractConditionableCommand {
|
||||
|
||||
public static final String LEADER_BOARD_POST_EMBED_TEMPLATE = "leaderboard_post";
|
||||
private static final String LEADERBOARD_PARAMTER = "leaderboard";
|
||||
private static final String LEDERBOARD_COMMAND_NAME = "leaderboard";
|
||||
private static final String PAGE_PARAMETER = "page";
|
||||
@Autowired
|
||||
private AUserExperienceService userExperienceService;
|
||||
@@ -137,12 +137,12 @@ public class LeaderBoardCommand extends AbstractConditionableCommand {
|
||||
.builder()
|
||||
.enabled(true)
|
||||
.rootCommandName(ExperienceSlashCommandNames.EXPERIENCE)
|
||||
.commandName(LEADERBOARD_PARAMTER)
|
||||
.commandName(LEDERBOARD_COMMAND_NAME)
|
||||
.build();
|
||||
|
||||
|
||||
return CommandConfiguration.builder()
|
||||
.name(LEADERBOARD_PARAMTER)
|
||||
.name(LEDERBOARD_COMMAND_NAME)
|
||||
.module(ExperienceModuleDefinition.EXPERIENCE)
|
||||
.templated(true)
|
||||
.async(true)
|
||||
|
||||
Reference in New Issue
Block a user