Make your own music Discord bot for FREE

MrSmooK
3 min readSep 28, 2019

The discord API provides you with an easy tool to create and use your own bots and tools. For this tutorial, we are going to create a basic music bot and add it to our server, not only for developers anyone can do it. The bot will have the following command :

  • PLAY command.
  • HELP command.
  • QUEUE command.
  • NOWPLAYING command.
  • LOOP command.
  • SKIP command.
  • PAUSE command.
  • RESUME command.
  • CLEARQUEUE command.
  • LEAVE command.
  • SEARCH command.
  • VOLUME command.
  • REMOVE command.

Requirements

Heroku account

Setting up a discord bot

First, we need to create a new application on the discord development portal. We can do so by visiting the portal and clicking on the new application.

Chose the right name for the application

After that, we need to select the bot tab and click on add bot and copy the token and store it we will need it later.

Now that both application and bot are created we have to associate the bot to our server

Copy the link in the checkbox and open it

Deploy our bot

If you are not a developer all you have to is to copy my pre-coded project and you are good to go, for more details if you want to add more functionalities ask me in a comment and I will do a developer version of this tutorial.

Click this link.

Chose the app name,the region and add the copied tokens from section and the prefix you want to use with the bot.

BOT_TOKEN
PREFIX

And then click manage the app for the next section.

Configure your bot

Under resources tab, disable Web and activate Worker.

Finally, click on more and restart all dynos

Now you cant test your bot with any command

YOUR_PREFIX play justin bieber baby

if you liked the tutorial you can support me by :

--

--

MrSmooK
0 Followers

I love my wife kid and PC setup