Skip to content

Command Update AND 1.9 update (1.10.0)

Compare
Choose a tag to compare
@Trollhunters501 Trollhunters501 released this 20 Nov 03:36
· 11 commits to master since this release
3d70be2

manager.createCommand function updated
What was added?
Permission, Usage and alias arguments were added to the function
More information in the plugin description

Update on the execution of the command function:
Now the Label is passed to the function that executes the command
More information in the plugin information

And it can also continue to be used even if no alias or permission is defined.
Like if Label in function to avoid incompatibility
Polyfills were added:

String:
includes
padStart
padEnd

Array:
flatMap

Object:
is
values
getOwnPropertyDescriptors