+ 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?

28th May 2022, 6:38 PM
PumpBin
PumpBin - avatar
4 Respostas
+ 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
28th May 2022, 8:58 PM
Daniel C
Daniel C - avatar
+ 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)
28th May 2022, 7:02 PM
Daniel C
Daniel C - avatar
+ 2
Daniel C Thanks a lot for your answers, I'll take them into account. Good luck!
28th May 2022, 9:13 PM
PumpBin
PumpBin - avatar
+ 1
Daniel C Thanks for the reply, it's very useful. But, if you don't mind, I want to ask you another question. Can C# be used to create a Discord Bot? Is it better o worse than using Python for that?
28th May 2022, 8:18 PM
PumpBin
PumpBin - avatar