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
d.js toolkit
d.js toolkit3d ago
- 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 staff
Yungz
YungzOP3d ago
discord.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
Heph
Heph3d ago
With .ping, you might need to go into discord developers and grant the message content intent
duck
duck3d ago
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
Heph
Heph3d ago
Oh, read wrong. Sorry, yes sharing code would help
Yungz
YungzOP3d ago
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
Yungz
YungzOP3d ago
so this si the only thing that seems to work
No description
Yungz
YungzOP3d ago
its in my discord.js file every other command and everything is in other folders and subfolders looking like
Yungz
YungzOP3d ago
No description
Yungz
YungzOP3d ago
this its a git hub copy paste kinda thing i ll send u the repo if you need
Yungz
YungzOP3d ago
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
Yungz
YungzOP3d ago
this
duck
duck3d ago
this repo appears to contain a few tos violations (e.g. streaming from youtube/spotify) we do not support tos violations
Yungz
YungzOP3d ago
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
Unknown User3d ago
Message Not Public
Sign In & Join Server To View
Yungz
YungzOP3d ago
i js need the general purpose part never said do it for me ?
Unknown User
Unknown User3d ago
Message Not Public
Sign In & Join Server To View
duck
duck3d ago
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
Yungz
YungzOP2d ago
alr thanks if y awant, i ll show u me ,taking it out and everyhting but
Unknown User
Unknown User2d ago
Message Not Public
Sign In & Join Server To View
Yungz
YungzOP2d ago
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 *

Did you find this page helpful?