planeposa.blogg.se

Discord bot tutorial node js
Discord bot tutorial node js












discord bot tutorial node js discord bot tutorial node js

What sets Discord apart is how easily it can be adapted to certain themes and communities, with custom roles, authorization and channels, which allows users to interact with given servers in a unique way - more than just a group chat.Īt the heart of this customizability are Discord bots, which can be set up to react to messages, reactions or perform tasks periodically, allowing server administrators to give structure and create protocols of conduct.Ĭreating bots is fairly easy, and can be done in a wide variety of languages - such as C#, Java, Go, Lua, NodeJS, PHP, Python and Ruby, and in this guide, we'll take a look at how to create a Discord bot in JavaScript, as well as how to make the bot react to messages with its own responses, handle custom commands and how to change the bot's presence.ĭiscord bots are based on an Event-Driven Architecture, which is natural given the nature of the platform they're running on.īefore diving into the bot itself, if you're not familiar with the terminology used within Discord - we'll take a look at the basics. As of 2021, it's one of the most popular communication platforms, used to fascillitate communities of users in servers, the sharing of text, audio and video as well as live streaming to channels. Communication services, which were well-established by that point saw a new wave of users and applications such as Zoom, Google Teams, Skype, Discord and Webex rose in popularity.ĭiscord is the application we'll be focusing on in this guide. The 2020 pandemic further increased the need to work remotely and communicate with friends and family online. Fairly early on, applications sprung up that connected people all over the globe, allowing them to send messaged, multimedia, perform live video and audio calls, allowing for international communication in a more interactive and engaging format than just phone calls. Communicating online and staying in touch with people all over the globe has been a major promise from the dawn of the internet - a web of communication and information.














Discord bot tutorial node js