Create Music Bot in Glitch 1

Create Music Bot in Glitch

Every Bot lover loves music so i am, And everyone wants a music bot but don’t know how to build or create. You can take this post as example of a music bot which is a combination of many music bots.

Table of Contents

Download

Create Music Bot in Glitch 2

I am gonna guide you until last, If you got any error just comment 🙂

1 – First open Glitch project link that is given above and remix that project

2- Then go to config.json and Put your token and prefix. Now your bot should be online

Create Music Bot in Glitch 3
PASTE TOKEN AND PREFIX

How To Host?

1 – Now go back to codes to index.js, Go to top and you will see this

Create Music Bot in Glitch 4
TYPE YOUR GLITCH PROJECT NAME, ex if project name is “Max” then “max.glitch.me”

Now login to UPTIME ROBOT website, Add new monitor then choose HTTP option and add your glitch project result url. ex= http://max.glitch.me/

If the link of glitch project is not working try this – https://glitch.com/~music-part6

4 Comments

Leave a Reply
  1. i have a error when y try to put any song with command “!play”
    💏🍱 Your app is listening on port 3000
    Ready!
    TypeError: fields.flat is not a function
    at Function.normalizeFields (/rbd/pnpm-volume/5452db48-7721-4aca-b707-6a15aa3931f6/node_modules/.github.com/discordjs/discord.js/026691702da7d1fcf9a959f00082f07f1e14b13d/node_modules/discord.js/src/structures/MessageEmbed.js:443:8)
    at MessageEmbed.addFields (/rbd/pnpm-volume/5452db48-7721-4aca-b707-6a15aa3931f6/node_modules/.github.com/discordjs/discord.js/026691702da7d1fcf9a959f00082f07f1e14b13d/node_modules/discord.js/src/structures/MessageEmbed.js:259:42)
    at MessageEmbed.addField (/rbd/pnpm-volume/5452db48-7721-4aca-b707-6a15aa3931f6/node_modules/.github.com/discordjs/discord.js/026691702da7d1fcf9a959f00082f07f1e14b13d/node_modules/discord.js/src/structures/MessageEmbed.js:250:17)
    at PlayCommand.run (/app/commands/music/play.js:153:10)
    at process._tickCallback (internal/process/next_tick.js:68:7)
    TypeError: fields.flat is not a function
    at Function.normalizeFields (/rbd/pnpm-volume/5452db48-7721-4aca-b707-6a15aa3931f6/node_modules/.github.com/discordjs/discord.js/026691702da7d1fcf9a959f00082f07f1e14b13d/node_modules/discord.js/src/structures/MessageEmbed.js:443:8)
    at MessageEmbed.addFields (/rbd/pnpm-volume/5452db48-7721-4aca-b707-6a15aa3931f6/node_modules/.github.com/discordjs/discord.js/026691702da7d1fcf9a959f00082f07f1e14b13d/node_modules/discord.js/src/structures/MessageEmbed.js:259:42)
    at MessageEmbed.addField (/rbd/pnpm-volume/5452db48-7721-4aca-b707-6a15aa3931f6/node_modules/.github.com/discordjs/discord.js/026691702da7d1fcf9a959f00082f07f1e14b13d/node_modules/discord.js/src/structures/MessageEmbed.js:250:17)
    at PlayCommand.run (/app/commands/music/play.js:153:10)
    at process._tickCallback (internal/process/next_tick.js:68:7)

  2. It works really good but when i do the play command to play the music I want to listen to, it says “Something went wrong with searching the video you requested 🙁 “

  3. “something went wrong with searching the video you requested”, there is you must change the Youtube-API token.

One Ping

  1. Pingback:

Leave a Reply

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