Make polls require manage message perms
This commit is contained in:
parent
cae774a82f
commit
3ef88bde40
1 changed files with 1 additions and 1 deletions
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue