From 3ef88bde407f6d7236e5cd96ede2c57a55aa1073 Mon Sep 17 00:00:00 2001 From: floppydiskette Date: Tue, 19 Nov 2024 20:27:09 +0000 Subject: [PATCH] Make polls require manage message perms --- src/main/java/net/hypr/doki/commands/utils/Poll.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/hypr/doki/commands/utils/Poll.java b/src/main/java/net/hypr/doki/commands/utils/Poll.java index 6b4b1de..6932a85 100644 --- a/src/main/java/net/hypr/doki/commands/utils/Poll.java +++ b/src/main/java/net/hypr/doki/commands/utils/Poll.java @@ -18,7 +18,7 @@ import java.util.Objects; @CommandMarker @BotPermissions(Permission.MESSAGE_SEND_POLLS) -@UserPermissions(Permission.MESSAGE_SEND_POLLS) +@UserPermissions(Permission.MESSAGE_MANAGE) public class Poll extends ApplicationCommand { @JDASlashCommand( name = "poll",