diff options
author | Marko Zajc <marko@zajc.eu.org> | 2022-07-23 18:18:57 +0200 |
---|---|---|
committer | Marko Zajc <marko@zajc.eu.org> | 2022-07-23 18:18:57 +0200 |
commit | 546ce624b7dca90d94ebb2889562f9b2bf5128e8 (patch) | |
tree | a3c3efd14d4b70ea909081fbb3aa9e63a6fac764 | |
parent | 37ccd09a859d22f185ac124e37e8f46313341553 (diff) |
Fix a bug in *autorole
-rw-r--r-- | src/main/java/libot/commands/AutoRoleCommand.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/libot/commands/AutoRoleCommand.java b/src/main/java/libot/commands/AutoRoleCommand.java index 23107e3..4579755 100644 --- a/src/main/java/libot/commands/AutoRoleCommand.java +++ b/src/main/java/libot/commands/AutoRoleCommand.java | |||
@@ -96,7 +96,7 @@ public class AutoRoleCommand extends Command { | |||
96 | private static void set(@Nonnull CommandContext c, @Nonnull AutoRoleProvider provider) { | 96 | private static void set(@Nonnull CommandContext c, @Nonnull AutoRoleProvider provider) { |
97 | var name = c.params().get(0); | 97 | var name = c.params().get(0); |
98 | if ("disable".equalsIgnoreCase(name)) { | 98 | if ("disable".equalsIgnoreCase(name)) { |
99 | if (!provider.get(c.getGuildIdLong()).isEmpty()) { | 99 | if (provider.get(c.getGuildIdLong()).isEmpty()) { |
100 | c.reply(FORMAT_NOT_SET); | 100 | c.reply(FORMAT_NOT_SET); |
101 | 101 | ||
102 | } else { | 102 | } else { |