+ 1
Discord bot language
Hey guys I need help with something. I really want to focus both on videogame developing and coding a Discord Bot. But as I'm a beginner I don't know if it would be better to start with Python, Javascript or C#; I heard that you can make videogames and Discord bots with the three of them, but, i repeat, I don't even have experience with programming languages. Out of those three, which would you recommend me to start with?
4 Réponses
+ 1
Technically, any language is usable for making a discord bot. The libraries provided by Discord (discord.js, discord.py, etc.) are just wraopers for their API targetted towsrds a specific language.
C# and Python are popular choices as well. For C#, the library of choice for most people is Discord.Net. For that, you should get started here and continue through the documentation for how to get started: https://discordnet.dev/guides/getting_started/first-bot.html
+ 3
Personally, I have written discord bots in both JavaScript and Python. For many, Python is a very easy language to learn but as the project grows, the complexity can become hard to follow.
I personally prefer using JavaScript, as there are tons of tutorials online to help you get started and the structure of the code is very readable in my opinion.
It is okay that you don't have programming experience, but in that case just understand that there is a learning process and you will need to follow tutorials for both JavaScript itself and discord bot setup.
To get started, you should have a computer or laptop of some kind with Visual Studio Code and NodeJS installed. From there, I suggest following this guide:
https://www.section.io/engineering-education/how-to-build-discord-bot-with-javascript/
Or you could search on YouTube, where there are tons of helpful tutorials (but look for more recent ones, because the discord.js library has been updated recently in a way that breaks old projects)
+ 2
Daniel C
Thanks a lot for your answers, I'll take them into account. Good luck!