How To Create Music Bot Without Any Coding knowledge 1

How To Create Music Bot Without Any Coding knowledge

How To Create Music Bot Without Any Coding knowledge, More people want music bot but do not know how to make it, that’s why i am creating this post to make you understand that how you can create music bot without any coding experience. Actually i created an npm package by installing it you can make your bot play music, You will just have to add 3 or 5 lines of code which will be given by me in this post. If you are interested checking npm module by yourself then here is the link – https://www.npmjs.com/package/ctk-musicbot

How To Create Music Bot Without Any Coding knowledge

First of all open glitch.com and create a new hello express project

How To Create Music Bot Without Any Coding knowledge

Now add below given code to main file which is server.js and do not forget to add you TOKEN

const Bot = require('ctk-musicbot');
 
const musicbot = new Bot({
  Token: 'xxx',
  prefix: '!'
});
 
musicbot.start();

After dealing with code go to the package.json and install ctk-musicbot

How To Create Music Bot Without Any Coding knowledge 2

Now you are done with setup and you are ready to go. I shall tall you what are the command that you can use in the music bot

Play – Play the music with the given URL, you cannot play music with name for now but in future you will be able to.
Pause – Pause the playing music.
Resume – Resume the paused music.
Skip – Skips the ongoing song.
queue – Get the list of song that you added
stop – Stop the bot from playing music

Also Read – Create Music Bot in Glitch

Leave a Reply

Your email address will not be published. Required fields are marked *