Skip to content

Commit

Permalink
Updated default.
Browse files Browse the repository at this point in the history
  • Loading branch information
palmmc committed Oct 16, 2024
1 parent 53d051b commit 631e306
Showing 1 changed file with 1 addition and 18 deletions.
19 changes: 1 addition & 18 deletions src/endstone_easyascommands/Utils/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,30 +18,13 @@ def error_custom(player: Player, message: str):
player.send_message(prefix + "§cError: " + message)


"""
Format:
{
"commands": {
"helloworld": {
"description": "Example command.",
"usages": ["/helloworld <message: str> <message2: str>"],
"aliases": ["hello", "hi"],
"permissions": ["easyas.command.all"],
}
},
"functions": {
"helloworld": ["say Hello, {0} {1}!", 'give "{player}" diamond 1']
}
}
"""

### DEFAULT COMMAND DATA CONFIGURATION ###

default_data = {
"commands": {
"helloworld": {
"description": "Example command.",
"usages": ["/helloworld <message: str> <message2: str>"],
"usages": ["/helloworld <message: str> <amount: int>"],
"aliases": ["hello", "hi"],
"permissions": ["easyas.command.all"],
}
Expand Down

0 comments on commit 631e306

Please sign in to comment.