Quick bug fix

This commit is contained in:
Savvy 2018-01-25 22:41:05 -05:00
parent 6f155f5bee
commit 7fdac99892

View File

@ -51,7 +51,7 @@ public class ConfigCommand extends Command {
@Override @Override
public void execute(String commandLabel, Guild guild, Member member, TextChannel channel, String[] args) { public void execute(String commandLabel, Guild guild, Member member, TextChannel channel, String[] args) {
RixaGuild rixaGuild = GuildManager.getInstance().getGuild(guild); RixaGuild rixaGuild = GuildManager.getInstance().getGuild(guild);
if (args.length == 1) { if (args.length == 2) {
switch (args[0].toLowerCase()) { switch (args[0].toLowerCase()) {
case "set": case "set":
if (args[1].equalsIgnoreCase("greetings")) { if (args[1].equalsIgnoreCase("greetings")) {