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
1 changed files with 5 additions and 1 deletions

View File

@ -8,4 +8,8 @@ api-version: 1.13
commands:
geyser:
description: The main command for Geyser.
usage: /geyser <subcommand>
usage: /geyser <subcommand>
permission: geyser.command
permissions:
geyser.command:
default: true