Recategorized ShowGalleriesCommand as general

This commit is contained in:
Aleksei 2020-02-22 12:26:41 -05:00
parent d18d791fc4
commit 6b8ea1740f
2 changed files with 3 additions and 8 deletions

View File

@ -3,7 +3,7 @@
* All rights reserved. * All rights reserved.
*/ */
package dev.salmonllama.fsbot.commands.staff; package dev.salmonllama.fsbot.commands.general;
import java.sql.SQLException; import java.sql.SQLException;
import java.util.ArrayList; import java.util.ArrayList;
@ -28,7 +28,7 @@ public class ShowGalleriesCommand extends Command {
@Override public String name() { return "Show Galleries"; } @Override public String name() { return "Show Galleries"; }
@Override public String description() { return "Shows registered gallery channels in the current server"; } @Override public String description() { return "Shows registered gallery channels in the current server"; }
@Override public String usage() { return "showgalleries"; } @Override public String usage() { return "showgalleries"; }
@Override public String category() { return "Staff"; } @Override public String category() { return "General"; }
@Override public CommandPermission permission() { return new CommandPermission(PermissionType.ROLE, BotConfig.STAFF_ROLE); } @Override public CommandPermission permission() { return new CommandPermission(PermissionType.ROLE, BotConfig.STAFF_ROLE); }
@Override public Collection<String> aliases() { return new ArrayList<>(Arrays.asList("showgalleries", "listgalleries")); } @Override public Collection<String> aliases() { return new ArrayList<>(Arrays.asList("showgalleries", "listgalleries")); }

View File

@ -5,16 +5,11 @@
package dev.salmonllama.fsbot.guthix; package dev.salmonllama.fsbot.guthix;
import dev.salmonllama.fsbot.commands.general.HelpCommand; import dev.salmonllama.fsbot.commands.general.*;
import dev.salmonllama.fsbot.commands.general.SpecificOutfitCommand;
import dev.salmonllama.fsbot.commands.staff.OutfitInfoCommand; import dev.salmonllama.fsbot.commands.staff.OutfitInfoCommand;
import dev.salmonllama.fsbot.commands.general.OutfitCommand;
import dev.salmonllama.fsbot.commands.staff.*; import dev.salmonllama.fsbot.commands.staff.*;
import dev.salmonllama.fsbot.commands.developer.InviteCommand; import dev.salmonllama.fsbot.commands.developer.InviteCommand;
import dev.salmonllama.fsbot.commands.developer.CreateGalleryCommand; import dev.salmonllama.fsbot.commands.developer.CreateGalleryCommand;
import dev.salmonllama.fsbot.commands.general.ColorsCommand;
import dev.salmonllama.fsbot.commands.general.ColorCommand;
import dev.salmonllama.fsbot.commands.general.PingCommand;
import dev.salmonllama.fsbot.commands.developer.EvalCommand; import dev.salmonllama.fsbot.commands.developer.EvalCommand;
import dev.salmonllama.fsbot.utilities.database.DatabaseUtilities; import dev.salmonllama.fsbot.utilities.database.DatabaseUtilities;
import org.javacord.api.DiscordApi; import org.javacord.api.DiscordApi;