aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarko Zajc <marko@zajc.eu.org>2022-07-23 18:18:57 +0200
committerMarko Zajc <marko@zajc.eu.org>2022-07-23 18:18:57 +0200
commit546ce624b7dca90d94ebb2889562f9b2bf5128e8 (patch)
treea3c3efd14d4b70ea909081fbb3aa9e63a6fac764
parent37ccd09a859d22f185ac124e37e8f46313341553 (diff)
Fix a bug in *autorole
-rw-r--r--src/main/java/libot/commands/AutoRoleCommand.java2
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 {