Updating from v11 to v12
- This package is now Pure ESM. See this document for details.
Command
constructor() {
- super('name')
+ super({
+ name: 'command-name',
+ description: 'command-description'
+ })
- this.data = {
- name: 'command-name',
- description: 'command-description'
- }
}