Property 'description' does not exist on type 'ApplicationCommandData'.

Hi yall, so I have this code here (https://sourceb.in/1t4I7PyZPo) but keep getting an error saying that description does not exist on ApplicationCommandData (line 5). Logging cmd gets me something along the lines of

{
[1]   dir: 'Staff',
[1]   data: {
[1]     name: 'remove-blacklist',
[1]     description: 'removes a blacklist from a server/user',
[1]     type: 1,
[1]     options: [ [Object], [Object] ]
[1]   },
[1]   memberPerms: [],
[1]   botreqperms: [],
[1]   cooldown: 0,
[1]   voteCooldown: 0,
[1]   voteOnly: false,
[1]   staffOnly: false,
[1]   ownerOnly: true,
[1]   execute: [Function: execute]
[1] }


So im not quite sure as to what the issue is, anybody mind helping out?
Was this page helpful?