Update src/main/java/cc/fascinated/bat/command/InternalCommandInfo.java
Some checks failed
Deploy to Dokku / docker (ubuntu-latest) (push) Has been cancelled
Some checks failed
Deploy to Dokku / docker (ubuntu-latest) (push) Has been cancelled
This commit is contained in:
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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user