Discord bot ( im new to coding bots)
I got some discord bot off github, and updated some coe, i got it on a local host and the only tyhing that seems to work rn is .ping ( which is a reply command, suggesting bot is online)
what do u need to actually make the bot usable ( bot is kind of old ( last update in 2022))
21 Replies
- What's your exact discord.js
npm list discord.js
and node node -v
version?
- Not a discord.js issue? Check out #other-js-ts.
- Consider reading #how-to-get-help to improve your question!
- Explain what exactly your issue is.
- Post the full error stack trace, not just the top part!
- Show your code!
- Issue solved? Press the button!
- ✅
Marked as resolved by staffdiscord.js version is 4.18.0 and -v is v22.14.0
it doesnt give any error codes, but also doesnt work
let me know what exactly anyone would need to help me with the code and actually make it work when i put in on a host
With .ping, you might need to go into discord developers and grant the message content intent
it'll be hard to help without at least knowing what you want it to do or sharing the code itself and describing in what way it doesn't behave correctly
they were saying that's the only thing that does work, so I imagine they've already done that
Oh, read wrong. Sorry, yes sharing code would help
probably not 0-0, im new with all this bot programming
I ll leave a mega or sum with the whole folder w the code
leaving out the bot tokens and everything
so
this si the only thing that seems to work

its in my discord.js file
every other command and everything
is in other folders and subfolders
looking like

this
its a git hub copy paste kinda thing
i ll send u the repo if you need
GitHub
Release 10.0.0 · CorwinDev/Discord-Bot
What's Changed
Discord.JS v14 by @CorwinDev in #43
Full Changelog: 9.0.4...10.0.0
this
this repo appears to contain a few tos violations (e.g. streaming from youtube/spotify)
we do not support tos violations
i ll take em out dw =)))
i js need to get everything else set up
i only need to egt everything else working
i mean
if you d be so kind
to
uh
help me w the bot 00
0-0
i d have taken streaming and other stuff out anyway
dont need em
Unknown User•3d ago
Message Not Public
Sign In & Join Server To View
i js need the general purpose part
never said do it for me
?
Unknown User•3d ago
Message Not Public
Sign In & Join Server To View
personally I also consider this a gray area
"I'll take the tos violations out later" doesn't really prove anything in the way of whether you'll actually do so
or even if you do so, whether you'll just add it back in afterwards
alr
thanks
if y awant, i ll show u me ,taking it out and everyhting
but
Unknown User•2d ago
Message Not Public
Sign In & Join Server To View
as a last question, as i think i got my answer to the problem, being linking the discordjs file to the rest of the bot
oke
thanks anyay ig.
anyway
*