Mr. Panda
Mr. Panda
DIAdiscord.js - Imagine an app
Created by Mr. Panda on 7/17/2023 in #djs-questions
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] }
{
[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?
7 replies
DIAdiscord.js - Imagine an app
Created by Mr. Panda on 8/10/2022 in #djs-questions
Undici ConnectTimeoutError Connect Timeout Error
I get this error whenever passing shards: 'auto' into my Client Options. Removing it fixes this issue. Other's are also having issues (According to this Github Issue: https://github.com/discordjs/discord.js/issues/8199)
9 replies