Update src/main/java/cc/fascinated/bat/command/InternalCommandInfo.java
Some checks failed
Deploy to Dokku / docker (ubuntu-latest) (push) Has been cancelled

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();
category = annotation.category();
permissions = annotation.requiredPermissions();
guildOnly = annotation.guildOnly();
guildOnly = annotation.guildOnly() && !annotation.userInstall();
userInstall = annotation.userInstall();
botOwnerOnly = annotation.botOwnerOnly();
}