|
24 | 24 | import me.duncte123.botcommons.messaging.MessageConfig; |
25 | 25 | import me.duncte123.skybot.commands.admin.BlackListCommand; |
26 | 26 | import me.duncte123.skybot.commands.admin.VcAutoRoleCommand; |
27 | | -import me.duncte123.skybot.commands.animals.*; |
| 27 | +import me.duncte123.skybot.commands.animals.SealCommand; |
28 | 28 | import me.duncte123.skybot.commands.essentials.*; |
29 | 29 | import me.duncte123.skybot.commands.essentials.eval.EvalCommand; |
30 | 30 | import me.duncte123.skybot.commands.funCmds.*; |
31 | | -import me.duncte123.skybot.commands.funcmds.*; |
| 31 | +import me.duncte123.skybot.commands.funcmds.ExplosmCommand; |
| 32 | +import me.duncte123.skybot.commands.funcmds.LoadingBarCommand; |
32 | 33 | import me.duncte123.skybot.commands.guild.GuildInfoCommand; |
33 | 34 | import me.duncte123.skybot.commands.guild.GuildJoinsCommand; |
34 | 35 | import me.duncte123.skybot.commands.guild.mod.*; |
|
37 | 38 | import me.duncte123.skybot.commands.guild.owner.LockEmoteCommand; |
38 | 39 | import me.duncte123.skybot.commands.guild.owner.UnlockEmoteCommand; |
39 | 40 | import me.duncte123.skybot.commands.guild.owner.settings.*; |
40 | | -import me.duncte123.skybot.commands.image.*; |
41 | | -import me.duncte123.skybot.commands.image.filter.*; |
42 | 41 | import me.duncte123.skybot.commands.mod.*; |
43 | 42 | import me.duncte123.skybot.commands.music.*; |
44 | 43 | import me.duncte123.skybot.commands.uncategorized.*; |
45 | 44 | import me.duncte123.skybot.commands.utils.EmoteCommand; |
46 | 45 | import me.duncte123.skybot.commands.utils.EnlargeCommand; |
47 | 46 | import me.duncte123.skybot.commands.utils.RoleInfoCommand; |
48 | | -import me.duncte123.skybot.commands.weeb.*; |
49 | 47 | import me.duncte123.skybot.entities.jda.DunctebotGuild; |
50 | 48 | import me.duncte123.skybot.objects.SlashSupport; |
51 | 49 | import me.duncte123.skybot.objects.command.*; |
|
80 | 78 | import java.util.stream.Collectors; |
81 | 79 |
|
82 | 80 | import static me.duncte123.botcommons.messaging.MessageUtils.sendMsg; |
83 | | -import static me.duncte123.skybot.utils.ThreadUtils.runOnVirtual; |
84 | 81 | import static me.duncte123.skybot.utils.AirUtils.setJDAContext; |
| 82 | +import static me.duncte123.skybot.utils.ThreadUtils.runOnVirtual; |
85 | 83 | import static net.dv8tion.jda.api.requests.ErrorResponse.MISSING_ACCESS; |
86 | 84 | import static net.dv8tion.jda.api.requests.ErrorResponse.UNKNOWN_CHANNEL; |
87 | 85 |
|
@@ -269,7 +267,7 @@ public CommandManager(Variables variables) { |
269 | 267 | this.addCommand(new StatsCommand()); |
270 | 268 | this.addCommand(new StopCommand()); |
271 | 269 | this.addCommand(new SuggestCommand()); |
272 | | - this.addCommand(new TagCommand(variables)); |
| 270 | +// this.addCommand(new TagCommand(variables)); |
273 | 271 | this.addCommand(new TempBanCommand()); |
274 | 272 | this.addCommand(new TempMuteCommand()); |
275 | 273 | // this.addCommand(new TestFilterCommand()); |
@@ -317,7 +315,7 @@ public Collection<ICommand<CommandContext>> getCommands() { |
317 | 315 | public List<ICommand<CommandContext>> getCommands(CommandCategory category) { |
318 | 316 | return this.commands.values() |
319 | 317 | .stream() |
320 | | - .filter((c) -> c.getCategory().equals(category)) |
| 318 | + .filter((c) -> c.getCategory() == category) |
321 | 319 | .collect(Collectors.toList()); |
322 | 320 | } |
323 | 321 |
|
|
0 commit comments