Daro
DIAdiscord.js - Imagine a bot
•Created by Broken on 10/29/2023 in #djs-questions
Bot Crashing After a non permission user runds command
what exactly is the error, and what permission is missing?
5 replies
DIAdiscord.js - Imagine a bot
•Created by Saint on 9/18/2023 in #djs-questions
Send to specific channel
you would want to pass along the existing (logged in) client value through whatever command handler system you are using
12 replies
DIAdiscord.js - Imagine a bot
•Created by Saint on 9/18/2023 in #djs-questions
Send to specific channel
also if this is in a command file you 100% should not be redefining a client variable
12 replies
DIAdiscord.js - Imagine a bot
•Created by Saint on 9/18/2023 in #djs-questions
Send to specific channel
or that you pass it or what not
12 replies
DIAdiscord.js - Imagine a bot
•Created by Saint on 9/18/2023 in #djs-questions
Send to specific channel
so I would recommend you double check you do have that in the file you are working in
12 replies
DIAdiscord.js - Imagine a bot
•Created by Saint on 9/18/2023 in #djs-questions
Send to specific channel
if you did it wouldn't say that
Discord is not defined
12 replies
DIAdiscord.js - Imagine a bot
•Created by Saint on 9/18/2023 in #djs-questions
Send to specific channel
I would recommend going through a formal guide to understand things properly, https://discordjs.guide/
12 replies
DIAdiscord.js - Imagine a bot
•Created by Saint on 9/18/2023 in #djs-questions
Send to specific channel
looks like you didn't require discord.js properly to define Discord.
With code like that I'd expect the first line of your code to be smth like
const Discord = require('discord.js')
12 replies
DIAdiscord.js - Imagine a bot
•Created by MoinAmMorgen on 1/24/2023 in #djs-questions
TypeError: Cannot read properties of undefined (reading 'process')
don't stringify the error, send the full error
33 replies