forked from Fascinated/Bat
Update src/main/java/cc/fascinated/bat/command/InternalCommandInfo.java
This commit is contained in:
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();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user