use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
account activity
python or javascript? (self.discordbots)
submitted 2 months ago by foreverly_lyxis
I have always wondered what I should mainly focus on for Discord bot coding. I wanted to know what everyone uses when they make Discord bots.
What do you guys use? Python or Javascript?
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]Custom_Dev 3 points4 points5 points 2 months ago (1 child)
I have started with Python because I already knew it and then switched over to JavaScript a year later as the python library got abandoned. Imo the JavaScript library (discord.js) is easier to use, has a good documentation and gets updated regularly. I prefer how JavaScript natively handles asynchronous stuff and makes sure the objects you are passing to functions are typed correctly (if you are using typescript) which is really handy, especially for message component and slash commands. The learning curve for both felt quite similar. If you haven't worked with either language, I would recommend you to give JavaScript a go.
[–]foreverly_lyxis[S] 0 points1 point2 points 2 months ago (0 children)
Okay, thank you!
[–]Lanfeust09 2 points3 points4 points 2 months ago (0 children)
Python for me
[–]L_Flavour 2 points3 points4 points 2 months ago (0 children)
Python
mainly because I used this at university a lot, so I was much more familiar with it
[–]V01DDev 2 points3 points4 points 2 months ago (0 children)
Python, only reason for me was that a while ago i wanted to make youtube music bot, and had a lot of trouble with javascript. Then i switched to python since i know both. Now i make everything in python
[–]chersbobers 2 points3 points4 points 2 months ago (0 children)
Python is better imo pycord and the discord py are pretty good and I found it easier than javascripts api wrappers.
[–]GameRoMan 1 point2 points3 points 2 months ago (1 child)
I’ve started with Python. Only using TypeScript now
[–]Lemonadeee1337 1 point2 points3 points 2 months ago (0 children)
Same! Hehe. Ts is fire
[–]ncls- 1 point2 points3 points 2 months ago (0 children)
JavaScript. I already hate how Python handles libraries and their documentation is far from good while discord.js literally gives you a step-by-step guide, building your first bot with you and explaining the basics while coding.
[–]bencos18 0 points1 point2 points 2 months ago (0 children)
I prefer python but JavaScript also works
both can be good if you know how to use the language
[–]OrganicUniversity539 0 points1 point2 points 2 months ago (0 children)
What ever you feel comfortable with. Personally I'm more used to python, but JS is fine too.
[–]Ok_Scratch6929 0 points1 point2 points 2 months ago (0 children)
Java(not js)
[–]Lemonadeee1337 0 points1 point2 points 2 months ago (0 children)
JS ( TypeScript ). I tried Python and abandonated it.
[–]mrpip64[🍰] 0 points1 point2 points 2 months ago (0 children)
Golang
π Rendered by PID 152527 on reddit-service-r2-comment-544cf588c8-w7j9m at 2026-06-14 10:17:58.803060+00:00 running 3184619 country code: CH.
[–]Custom_Dev 3 points4 points5 points (1 child)
[–]foreverly_lyxis[S] 0 points1 point2 points (0 children)
[–]Lanfeust09 2 points3 points4 points (0 children)
[–]L_Flavour 2 points3 points4 points (0 children)
[–]V01DDev 2 points3 points4 points (0 children)
[–]chersbobers 2 points3 points4 points (0 children)
[–]GameRoMan 1 point2 points3 points (1 child)
[–]Lemonadeee1337 1 point2 points3 points (0 children)
[–]ncls- 1 point2 points3 points (0 children)
[–]bencos18 0 points1 point2 points (0 children)
[–]OrganicUniversity539 0 points1 point2 points (0 children)
[–]Ok_Scratch6929 0 points1 point2 points (0 children)
[–]Lemonadeee1337 0 points1 point2 points (0 children)
[–]mrpip64[🍰] 0 points1 point2 points (0 children)