![webook maker discord webook maker discord](https://user-images.githubusercontent.com/778890/34448695-1c8b6ab8-ecf0-11e7-9156-9e4b422da4a8.png)
While joining chats might seem counter to the goal of productivity and calm, you don’t have to chat with anyone.
Webook maker discord full#
The best part is the free service is full of neat features. It’s a chat system like Slack or Hipchat, but more informal and less business focused. Discord is a live chat system – but not JUST that What is this magic? Ping your own Discord server … wait! Let me explain!īefore we start, the tool I am using to unsubscribe from the cruft that clogs my inbox is called – check it out. Once I started down this path, however, I discovered this approach allows me to have fewer tabs open, and even concentrate more. Once you get past the unsubscribe/filter stage, the next thing is to get the important information in a different way. if (interaction.I am on a mission to declutter my email. Skipping is quite easy and can be done by calling the skip() function on the queue. Lastly, if the queue isn’t already playing let’s start it using the play() function. aylist ? queue.addTracks(acks) : queue.addTrack(acks) Here we save the token of our bot and the prefix he should listen for.
Webook maker discord code#
Discord js basicsīefore starting to code we need to populate our config.json file. I personally use VS Code and can open it with the following command. Now we just need to open our project in our text editor. Then we just need to create the two files we will work in. After entering the command you will be asked some questions just answer them and continue. mkdir musicbot & cd musicbotĪfter that, we can create our project modules using the npm init command. We can do so by using these two commands. Now we can start creating our project using our terminal.įirst, we create a directory and move into it. Invite the bot to the server Creating our project Discord bot invite linkĪfter pasting it, we add it to our server by selecting the server and clicking the authorize button. Then we can copy our generated URL and paste it into our browser. Giving the discord bot the needed permissions OAuth2 tabĪfter that, we need to select the needed permissions to play music and read messages. Adding the bot to your serverĪfter creating our bot we can invite it using the OAuth2 URL Generator.įor that, we need to navigate to the OAuth2 page and select bot in the scope tap. Now our bot is created and we can continue with inviting it to our server. Creating a discord botĪfter that, we need to select the bot tab and click on add bot. Creating a new applicationĪfter that, we need to give our application a name and click the create button. We can do so by visiting the portal and clicking on new application. Setting up a discord botįirst, we need to create a new application on the discord development portal. Prerequisitesīefore we get started creating the bot make sure that you have installed all the needed tools.Īfter the installation, we can continue by setting up our discord bot. The bot will be able to play, skip and stop the music and will also support queuing functionality. Today we are going to take a look at how we can create a basic music bot and add it to our server.
![webook maker discord webook maker discord](https://d38f4b4ih4m51q.cloudfront.net/Screenshot_2021-06-05_at_08_36_08.png)
The discord API provides you with an easy tool to create and use your own bots and tools.
Webook maker discord how to#
You will also learn how to add the bot to your server and use him to play music.
![webook maker discord webook maker discord](https://i.ytimg.com/vi/4JsYJtZo6N4/maxresdefault.jpg)
In this tutorial, you will create a Discord music bot using Discord.js which will be able to play music, queue songs, skip songs and stop songs.