Quick bug fix
This commit is contained in:
parent
6f155f5bee
commit
7fdac99892
@ -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")) {
|
||||||
|
Loading…
Reference in New Issue
Block a user