Make polls require manage message perms

This commit is contained in:
floppydiskette 2024-11-19 20:27:09 +00:00
parent cae774a82f
commit 3ef88bde40
Signed by: fwoppydwisk
SSH key fingerprint: SHA256:Hqn452XQ1ETzUt/FthJu6+OFkS4NBxCv5VQSEvuk7CE

View file

@ -18,7 +18,7 @@ import java.util.Objects;
@CommandMarker @CommandMarker
@BotPermissions(Permission.MESSAGE_SEND_POLLS) @BotPermissions(Permission.MESSAGE_SEND_POLLS)
@UserPermissions(Permission.MESSAGE_SEND_POLLS) @UserPermissions(Permission.MESSAGE_MANAGE)
public class Poll extends ApplicationCommand { public class Poll extends ApplicationCommand {
@JDASlashCommand( @JDASlashCommand(
name = "poll", name = "poll",