Update src/main/java/cc/fascinated/bat/command/InternalCommandInfo.java

This commit is contained in:
Rainnny 2024-07-04 14:31:30 +00:00
parent 4ae2e7566a
commit 65ba1d91ac

@ -53,7 +53,7 @@ public class InternalCommandInfo {
description = annotation.description(); description = annotation.description();
category = annotation.category(); category = annotation.category();
permissions = annotation.requiredPermissions(); permissions = annotation.requiredPermissions();
guildOnly = annotation.guildOnly(); guildOnly = annotation.guildOnly() && !annotation.userInstall();
userInstall = annotation.userInstall(); userInstall = annotation.userInstall();
botOwnerOnly = annotation.botOwnerOnly(); botOwnerOnly = annotation.botOwnerOnly();
} }