florentine
DIAdiscord.js - Imagine an app
•Created by Barnuss on 7/5/2024 in #djs-questions
Edit Interaction Reply
You can always check whether the bot has access to it - it's best to check those basic access or practical related things to prevent other things in the code you may have missed and let you have more options code-wise
10 replies
DIAdiscord.js - Imagine an app
•Created by awh on 4/20/2024 in #djs-questions
TypeError: Cannot read properties of undefined (reading 'setFooter')
what is your discord.js version? to confirm
28 replies
DIAdiscord.js - Imagine an app
•Created by x0 on 2/16/2024 in #djs-questions
check if bot can interact with a specific user/role
this shows its position in the hierarchy i believe
25 replies
DIAdiscord.js - Imagine an app
•Created by x0 on 2/16/2024 in #djs-questions
check if bot can interact with a specific user/role
what do you mean 'public roles' and 'managed roles'..?
25 replies
DIAdiscord.js - Imagine an app
•Created by InfernalHarmony on 2/16/2024 in #djs-questions
client.channels.cache.get(channelid) returning undefined
has the issue rearised
16 replies
DIAdiscord.js - Imagine an app
•Created by InfernalHarmony on 2/16/2024 in #djs-questions
client.channels.cache.get(channelid) returning undefined
alrighty
16 replies
DIAdiscord.js - Imagine an app
•Created by InfernalHarmony on 2/16/2024 in #djs-questions
client.channels.cache.get(channelid) returning undefined
not the whole file
16 replies
DIAdiscord.js - Imagine an app
•Created by InfernalHarmony on 2/16/2024 in #djs-questions
client.channels.cache.get(channelid) returning undefined
oh uh
16 replies
DIAdiscord.js - Imagine an app
•Created by InfernalHarmony on 2/16/2024 in #djs-questions
client.channels.cache.get(channelid) returning undefined
not just the line
16 replies
DIAdiscord.js - Imagine an app
•Created by InfernalHarmony on 2/16/2024 in #djs-questions
client.channels.cache.get(channelid) returning undefined
can you send the full code then?
16 replies
DIAdiscord.js - Imagine an app
•Created by InfernalHarmony on 2/16/2024 in #djs-questions
client.channels.cache.get(channelid) returning undefined
just doing
client.channels
doesn't work because you're not specifying a server16 replies
DIAdiscord.js - Imagine an app
•Created by InfernalHarmony on 2/16/2024 in #djs-questions
client.channels.cache.get(channelid) returning undefined
you can use
interaction.guild.channels.cache.get(id)
if you want to get it where you have access to a CommandInteraction
in a guild16 replies
DIAdiscord.js - Imagine an app
•Created by InfernalHarmony on 2/16/2024 in #djs-questions
client.channels.cache.get(channelid) returning undefined
just saying
client.(the rest)
won't work as you need to specify the guild16 replies