Assign permission to the command (#3599)

Assigning permission allows people to possibly deny that permission to hide the command from tab complete list.
Permission is defaulted to true, so command keeps current behavior by default.
This commit is contained in:
YouHaveTrouble 2023-03-07 18:54:41 +01:00 committed by GitHub
parent 1be2a1ccac
commit 81f0cbe5ed
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -9,3 +9,7 @@ commands:
geyser:
description: The main command for Geyser.
usage: /geyser <subcommand>
permission: geyser.command
permissions:
geyser.command:
default: true