Updating from v10 to v11
DiscommandClient
- loadType: LoadType.File
Command
constructor() {
- super()
+ super('command-name')
- this.name = 'command-name'
- this.description = 'commmand-description'
+ this.data = {
+ name: 'command-name',
+ description: 'command-description'
+ }
}
Listener
constructor() {
- super()
+ super('listener-name')
- this.name = 'listener-name'
}