Please learn javascript before you make a discord bot
I learned but Why presence not working?? There is no error
I know that can you tell me wheres is mine mistake
Javascript and the docs can tell you that
Means??? (20characters)
Ok, please read the discord.js docs.
Why was my post flagged?
Check you messages. It should tell you.
probably because of off-topic
How is that off topic
I didnāt flag it. I am only guessing.
@anon43649539 Iām guessing someone might have that post to be a bit rudeā¦?
Hi @Yashraj- Iām not too familiar with the discord.js library, but in the discord.js docs (https://discord.js.org/#/docs/main/stable/class/ClientUser?scrollTo=setPresence) it appears you may need to pass in an object parameter and not just the string āDNDā for setPresence.
If you donāt have the answer to the question, @anon43649539, you donāt have to respond. If you think the post is inappropriate, you should email support@glitch.com.
Glitch is a friendly and welcoming community, in the editor and here in the forum. We welcome users of all different backgrounds of coding, beginner through expert.
yes i agree with that but this user has been coming here for a couple of days asking simple things and obviously copying code from google, if the user wanted to continue learning js i would happily help but this person obviously doesnt want to do such.
The user wants an answer to their question, and this is something we guide users to do (https://glitch.happyfox.com/kb/article/81-how-do-i-get-help-when-i-m-stuck/). You are under to obligation to reply to questions in the forum, but we do ask that you are friendly whether you do or not.
We love to help, but if a user is showing no intention to learn, spoon feeding is not going to help. It might work for the next 1 hour, then theyāll be back even more confused unable to do simple things.
However I do agree that @anon43649539ās post could have included a link to documentation/a video to help learn JS.
Even if this were a totally fair assessment of the OPās intentions, it would be more friendly and productive all around to simply not respond, then. Everyone has different learning styles, and sometimes they hit a plateau where āspoon feedingā actually is a helpful push for them in the right direction on their journey of creating.
We really do appreciate how helpful everyone here in the forum is. As the community grows, weāre going to encounter more learning styles and coding challenges. This is exciting, but I also appreciate that itās an adjustment for everyone here. <3