Giter VIP home page Giter VIP logo

musicbot's Introduction

Hi there 👋

I am a professional editor and software developer. I have been professionally interested in community management and development for 5 years, I have high level knowledge and experience in areas such as community management and social media management.

Instagram Twitter Email visitors


https://codeshare.me
https://codexy.co

Languages

Markup Languages

Frameworks

Databases

Services


⚡ GitHub Trophies




musicbot's People

Contributors

bilnaa avatar bimantaraz avatar dfgghb66 avatar fyphen1223 avatar hctaskiran avatar hoshimikan6490 avatar imwezz avatar kadrxyp avatar kageryo avatar momixxxxxxx avatar mrcerise avatar mrdick004 avatar notlin4 avatar priv4cy avatar raadsl avatar rardevelopment avatar riobits avatar umutxyp avatar wraith4081 avatar xwass avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

musicbot's Issues

when I host online the bot doesn't play the music, the bot enters and exits

hi, I'm writing this issue because I don't know how to solve it, and I don't know if anyone has the same problem as me, basically when I host my discord bot online, the music doesn't start, the bot enters it says there is music and exits saying that's over, if I host it locally from my pc everything works
(sorry for my english)

Distube file error.

In the distube file inside the index.js i cant seem to find the line needed to prevent the bot from stop playing music after a minute.
image
image
the file only seems to stop at 204.

Play, and one sec after, "the queue is empty"

Command: /play normal
Loading music(s)... 🎧
🎵 Playing: Test (Official Clip) -> Lounge: 📻・Radio 🎧
The queue is empty. You can play some more music, goodbye... ✅

why?

[Request] Save volume level

It would be great if there was an option to enable the volume level to be saved so the bot doesn't have to be set again and again when rejoining.

volume in config.js not being applied

changing value maxVol in config.js is not being changed in bot audio levels. bot audio appears to be full volume despite /nowplaying volume showing 50% and config.js set to 25

image

Getting error code 429 when playing music from Youtube when the bot is on a VPS

Hi.
When I play music from youtube it will throw error code 429 at me. This seems to be a thing regarding google blocking public static IP addresses. I've looked around and it seems a youtube cookie can fix this. Would it be possible to update the bot to allow us to put a youtube cookie into the config file?
This can be avoided by using a VPN, but I have other issues with that, so I want to avoid it if possible.

music doesn't play at all when the bot is on Ubuntu

Hi. I have used this bot on windows with no problem. I got myself a VPS server ans want to host the bot there. I copy over the main bot files, then install NPM 17, which is outdated by the way. Then I run npm install and everything installs fine. I get the bot to connect and everything is going good until I try to play something. Nothing happens, well it either says queue is empty after like 3 seconds, which is strange. I have no idea how to fix this. Any help? Or is this something that needs to be fixed in the bot code itself?

/play normal didn't work (no result found)

Since a few days, while I have not updated any package, when I run /play I have either:

An error encountered: PlayingError: FFmpeg/avconv not found!
Id: xQK0f6wzww8
Name: Video name

Either I have "undefined" in the console and "no result found"

Version: October Update

Increase Queue size

Is it possible to increase the playlist/queue size to more than 100? When loading for example a Spotify playlist, the queue is filled up to 100.

Thanks in advance :)

BUG

When I add another song to the list, the bot will stop

mongodb

WARN: It looks like you didn't write the mongodb url? If you do not enter a valid mongodb url in the config.js file, you will not be able to use the bot.

Where will I find this?

Error Parsing Spotify Playlist Songs

at parsePlaylist (/var/www/html/public_html/NewBot/node_modules/@distube/ytsr/lib/parseItem.js:81:30)
at module.exports (/var/www/html/public_html/NewBot/node_modules/@distube/ytsr/lib/parseItem.js:12:16)
at /var/www/html/public_html/NewBot/node_modules/@distube/ytsr/lib/main.js:70:36
at Array.map ()
at module.exports (/var/www/html/public_html/NewBot/node_modules/@distube/ytsr/lib/main.js:70:27)
at runMicrotasks ()
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async DisTube.search (/var/www/html/public_html/NewBot/node_modules/distube/dist/index.js:2344:22)
at async SpotifyPlugin.search (/var/www/html/public_html/NewBot/node_modules/@distube/spotify/dist/index.js:369:15)
at async Promise.all (index 55)

any idea how to fix this?

Adding logs

Hello,

Do you think it's possible to add logs in the console when a person types a command, because my bot spits I don't know why?

CAnt run the bot because of one error how to fix it?

$ node .
/app/index.js:3
if(config.shardManager.shardStatus == true){
^

TypeError: Cannot read properties of undefined (reading 'shardStatus')
at Object. (/app/index.js:3:24)
at Module._compile (node:internal/modules/cjs/loader:1103:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1157:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12)
at node:internal/main/run_main_module:17:47

Bot Wont Play Songs At Centos, But Play At Windows

So first i run it on a windows 11, it works perfectly, and then i moved it to centos, when i type /play and the song tittle, the bot join the audio, then Loading music(s)... 🎧
🎵 Now playing: greater than one // ericdoa and VALORANT - Official Audio -> Channel: General 🎧
Queue is empty. You can play some more music, byebye... ✅
it suddenly said queue is empty etc, and its not playing any songs, ive been so confused for what is wrong actually

Please ad default volume and update some packages

This would be of great help, as I every time the bot joins have to change the volume. Now you can argue that each user can just turn it down, but default volume would be great for us so we don't have to. Please considder adding this. Some packages are also out of date and will cause issues, discordjs/voice needs to be updated as the current version the bot uses will have it stop playing music in a minute. Updating to the latest version fixes this. Mongodb also should be updated, as it gives you a warning when connecting. It will still connect, but still good to get rid of it. FFmpeg-static seems to not play music when the bot is on Ubuntu, removing this package fixes the issue.
I hope you can considder ading the default volume and look into the packages, thank you for reading.

Can't run /play

Error
TypeError [CommandInteractionOptionNoSubcommand]: No subcommand specified for interaction.
at CommandInteractionOptionResolver.getSubcommand (/root/music/node_modules/discord.js/src/structures/CommandInteractionOptionResolver.js:113:13)
at Object.run (/root/music/commands/play.js:42:37)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

/setup komutu

Bota /setup komutu ile song request channel kurma gelirse mükemmel olur

mongodb error

when i run the bot i have this error
MongoDB Error: MongooseServerSelectionError: Could not connect to any servers in your MongoDB Atlas cluster. One common reason is that you're trying to access the database from an IP that isn't whitelisted. Make sure your current IP address is on your Atlas cluster's IP whitelist: https://www.mongodb.com/docs/atlas/security-whitelist/

WARN: It looks like you didn't write the mongodb url? If you do not enter a valid mongodb url in the config.js file, you will not be able to use the bot.
but i wrote mongodb url correctly and yesterday it worked fine
pls help me with this issue

Playlist causes bot to freeze/crash

Hi, Sorry I keep making issue tickets :/

I create playlist - /playlist create (Name) Rock (public) True

Then I - /playlist add-music (playlist-name) Rock (name) https://open.spotify.com/playlist/1R2yVdmsa5R8wLBr2aEKHn

I can see they are in the playlist by running - /playlist list (name) Rock

All music shows. So I try to play the playlist and I it freezes, so I check terminal and get this error.

"/home/container/node_modules/discord-player/dist/Structures/PlayerError.js:28
Error.captureStackTrace(this);
^
InvalidTrack: [InvalidTrack] invalid track
at new PlayerError (/home/container/node_modules/discord-player/dist/Structures/PlayerError.js:28:15)
at Queue.addTrack (/home/container/node_modules/discord-player/dist/Structures/Queue.js:235:19)
at Timeout._onTimeout (/home/container/commands/play.js:95:7)
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
createdAt: 2022-08-31T16:35:27.122Z,
statusCode: 'InvalidTrack'
}
Node.js v17.9.1
"

Have you experienced this issue? Can I not add playlist in this way?

Event loading error

error

Hi, i encounter event error.

it will show the application did not respond however it will still play songs.

Suggestion regarding volume

One thing I noticed is when a volume is set for the bot and then the bot rejoins, it blasts to 100% before slowly going back down to the volume that was assigned, is there anyway it can remember the volume value at the start so it doesn't initially blast peoples ears when the bot joins?

bot leave the channel

after song ends bot leave and send this message "Someone from the audio channel Im connected to kicked me out, the whole playlist has been cleared!"

Music stops playing after clicking on loop "queue" or "now playing music"

On discord i receive "interaction failed" and in the terminal i receive this:
/home/ubuntu/musicbot/node_modules/discord.js/src/client/actions/InteractionCreate.js:50
if (channel && !channel.isTextBased()) return;
^

TypeError: channel.isTextBased is not a function
at InteractionCreateAction.handle (/home/ubuntu/musicbot/node_modules/discord.js/src/client/actions/InteractionCreate.js:50:33)
at Object.module.exports [as INTERACTION_CREATE] (/home/ubuntu/musicbot/node_modules/discord.js/src/client/websocket/handlers/INTERACTION_CREATE.js:4:36)
at WebSocketManager.handlePacket (/home/ubuntu/musicbot/node_modules/discord.js/src/client/websocket/WebSocketManager.js:352:31)
at WebSocketShard.onPacket (/home/ubuntu/musicbot/node_modules/discord.js/src/client/websocket/WebSocketShard.js:489:22)
at WebSocketShard.onMessage (/home/ubuntu/musicbot/node_modules/discord.js/src/client/websocket/WebSocketShard.js:328:10)
at callListener (/home/ubuntu/musicbot/node_modules/ws/lib/event-target.js:290:14)
at WebSocket.onMessage (/home/ubuntu/musicbot/node_modules/ws/lib/event-target.js:209:9)
at WebSocket.emit (node:events:527:28)
at Receiver.receiverOnMessage (/home/ubuntu/musicbot/node_modules/ws/lib/websocket.js:1180:20)
at Receiver.emit (node:events:527:28)

Node.js v17.9.0

Problem with commands Play

Hello, good day, I wanted to tell you that when I use the /play command on my discord server, the bot throws the name of the song twice, and twice on which channel it is playing, to carry out the test, I turned off the bot that I have heroku hosted so it doesn't mix with the one I have in my local environment, but the same thing still happens, any ideas? Thank you very much, Attached screenshot of the problem

image

Bot error message when song ends

Hi,

When bot config is set to leaveOnFinish: true -

"voiceConfig: {
leaveOnFinish: true, //If this variable is "true", the bot will leave the channel the music ends.
leaveOnStop: false, //If this variable is "true", the bot will leave the channel when the music is stopped.

leaveOnEmpty: { //The leaveOnEnd variable must be "false" to use this system.
status: false, //If this variable is "true", the bot will leave the channel when the bot is offline.
cooldown: 10000000, //1000 = 1 second
},"

This message shows in discord -

"I'm having trouble connecting to the voice channel. ❌ Like someone disconnected me? Im very sad. 😔"

Instead the bot should leave the channel and only say -

Queue is empty. You can play some more music, byebye... ✅

Is this correct?

/leave komutu

selam üstad bota leave komutu eklemeye çalışıyorum herşey tamam ancak bir türlü başaramadım güncelleme gelirse eklermisin acaba?

Not playing music when hosting on ubuntu

I downloaded a music bot and tried to run it on my Windows computer. It worked fine, but when I tried to host it on my Ubuntu VPS, it only said 'Now playing:' and immediately said 'Queue is empty. You can play some more music, byebye... ✅'

image

Sign in to confirm your age

An error encountered: PlayingError: Sign in to confirm your age
Id: 1qe-9XZpO08
Name: Bad

how do I turn it off?

add ja.js file

I want to create a new branch to add Japanese language files.
But I don't have the authority.

So I will write it here.
Note: I have changed or removed some wording to make it less uncomfortable for Japanese people when translating.

ja.jsfile】

const language = {
  loadevent: "プレイヤーイベントの読み込みが完了",
  loadcmd: "コマンドの読み込みが完了",
  ready: " 接続に成功しました。",
  loadslash: "スラッシュコマンドの再読み込みに成功しました。",
  error1:
    "プロジェクトに入力したボットのトークンが間違っているか、ボットのINTENTSがオフになっています!",
  error2:
    "ボットのトークンをtoken.jsまたはプロジェクト内の.envファイルに設定してください。!",
  loadclientevent: "クライアントイベントの読み込みが完了",
  embed1:
    "このコマンドを使用するには、このサーバーに <@&{djRole}>(DJ) ロールが設定されている必要があります。このロールを持たないユーザは {cmdMAP} を使用できません。",
  message1: "⚠️ ボイスチャンネルに参加してください。",
  message2: "⚠️ 私と同じボイスチャンネルに接続してください。",
  message3: "❌ 権限が不足しています。",
  msg4: "⚠️ 何らかのエラーが発生しました。",
  msg5: "❌ 現在再生中の楽曲はありません。",
  msg6: "楽曲を保存する",
  msg7: "プレイリスト名を入力してください",
  msg8: "この楽曲はライブストリーミングであり、使用できるデュレーションデータはありません。",
  msg9: "**✅ 成功:** タイムデータを更新しました。",
  msg10: "❌ この名前のプレイリストはまだありません。",
  msg11: "❌ この楽曲は既にこのプレイリストに入っています。",
  msg12: "楽曲をプレイリストに追加しました。",
  error3: "⚠️ スラッシュコマンドの再読み込み時にエラーが発生しました。: ",
  error4:
    "⚠️ 警告: mongodbのurlを書いてないようです。config.jsファイルに有効なmongodbのurlを書かないと、ボットを使用することができません。",
  msg13: `🎵 現在再生中: **{track?.title}** -> チャンネル: **{queue?.connection.channel.name}** 🎧`,
  msg14: "❌ キューが空です。",
  msg15: "❌ 自分のチャンネルに誰もいなくなったので、切断しました。",
  msg16:
    "❌ ボイスチャンネルに接続できませんでした。誰かに切断させられたようです。悲しいです…😔",
  msg17: "❌ 前のトラックはありません!",
  msg18: "✅ 「**{queue.previousTracks[1].title}**」を再生中です。",
  msg19: " ボットの統計情報",
  msg20: "再読み込み",
  msg21: "**時間切れです!**",
  msg22: "**✅ データを更新しました。**",
  msg23: "❌ キューが空です。",
  msg24: "🗑️ キューの中身を削除しました。",
  msg26: "DJロールを指定しない場合は、このコマンドを使用することができません!",
  msg25: "DJロールが<@&{role}>に正常に設定されました。",
  msg27: "DJロールは正常に削除されました。",
  msg28: "DJロールは、まだ設定されていません。",
  msg29: `❌ 有効なフィルター名を入力してください。\n{filters}`,
  msg30: `❌ その名前のフィルターは見つかりませんでした。\n{filters}`,
  msg31: `選択されたフィルター: **{filter}**, フィルターのステータス: **{status}**\n **楽曲が長い場合、フィルターを適用させるために時間を要することがありますので、ご注意ください。**`,
  msg32:
    "完全無料かつ高度なインターフェイスで、あなたのdiscordサーバーで楽曲を聴くときが来たのです。多くのプラットフォームでの音楽再生をサポートする音楽ボットで、あなたのサーバーを特別な雰囲気にします。あなただけの音楽ボットを作りましょう!https://github.com/umutxyp/MusicBot",
  msg33: "ボットのコマンド",
  msg34: "❌ 既にアクティブなコマンドがあります。",
  msg35: "キュー",
  msg36: "現在再生中の楽曲",
  msg37: "ループをやめる",
  msg38: "ループシステム",
  msg39: `> **以下からお選びください。**
   > **キュー:** キューをループ再生します。.
   > **現在再生中の楽曲:** 現在再生中の楽曲をループ再生します。
   > **ループを閉じる:** ループ再生をやめます。`,
  msg40: "キューをループします。",
  msg41: "⚠️ 何らかのエラーが発生しました。",
  msg42: "現在再生中の楽曲をループします。",
  msg43: "❌ ループモードは既に無効です。",
  msg44: `ループ再生をやめます。`,
  msg45: "タイムアウトしました。",
  msg46: "ループシステムを終了しました。",
  msg47: "プレイリストに保存する",
  msg48: "✅ 楽曲の再生を一時停止しました。",
  msg49: `メッセージのPing`,
  msg50: `メッセージのLatency`,
  msg51: `APIのLatency`,
  msg52: `❌ プレイリストがありません。`,
  msg53: `❌ このプレイリストを再生する権限がありません。`,
  msg54: `❌ そのプレイリストにその名前の楽曲はありません。`,
  msg55: `❌ あなたが接続しているボイスチャンネルに接続できませんでした。`,
  msg56: `🔄️ プレイリストを読み込み中…`,
  msg57: `<@{interaction.member.id}>\n✅ **{music_filter.length}** 件の楽曲をキューに追加しました。`,
  msg58: `❌ この名前のプレイリストはありません。`,
  msg59: `❌ 検索したい楽曲の名前を書いてください。`,
  msg60: `❌ 見つかりませんでした!`,
  msg61: "🎧 楽曲を読み込んでいいます...",
  msg62: "という名前のリストがプレイリストに追加されました。✅",
  msg63: `❌ キューが空です。`,
  msg64: "サーバー楽曲リスト",
  msg65: "現在再生中",
  msg66: "追加したユーザー:",
  msg67: "ページ",
  msg68: `✅コマンドプロセッサはキャンセルされました。`,
  msg69: `サーバー再生リストを終了しました。`,
  msg70: `一定時間経過したため、キューの表示を終了しました。再度表示するには\`/queue\`を実行してください。`,
  msg71: `❌ エラーが発生しました。一時停止していなかった可能性があります。`,
  msg72: "✅ 楽曲の再生を再開しました。",
  msg73: `❌ 有効な曲名を入力してください。`,
  msg74: `❌ 検索結果が見つかりませんでした!`,
  msg75: "検索結果",
  msg76: "**1** から **{maxTracks.length}** の中から、キューに追加する楽曲を選んでください ⬇️",
  msg77: `✅ 楽曲検索がキャンセルされました。`,
  msg78: `🎧 読み込み中...`,
  msg79: "✅ キューに楽曲を追加しました。",
  msg80: `❌ 一定時間経過したため、検索結果の表示を終了しました。`,
  msg81: "キャンセル",
  msg82: `❌ 入力された数字が、キュー内の曲数より多いです。番号を確認してください。`,
  msg83: "✅ 楽曲をスキップしました。",
  msg84: `🎧 この楽曲はライブストリーミングであり、使用できるデュレーションデータはありません。`,
  msg85: `✅ 再生を停止しました。`,
  msg86: "更新",
  msg87: `現在の音量: **{queue.volume}** 🔊\n**音量を変えるには、\`1\` から \`{maxVol}\` の間の数字を入力してください。**`,
  msg88: `❌ 既にその音量で再生しています。`,
  msg89: `❌ **音量を変えるには、\`1\` から \`{maxVol}\` の間の数字を入力してください。**`,
  msg90: "音量が変更されました:",
  msg91: `❌ 作成したいプレイリストの名前を入力してください。`,
  msg92: `❌ この名前のプレイリストは既に存在しています。`,
  msg93: `❌ 30個以上プレイリストを所有することが出来ません。`,
  msg94: "🎧 プレイリストを作成中...",
  msg95: "🎧 プレイリストを作成しました!",
  msg96: `❌ この名前のプレイリストはまだありません。`,
  msg97: "🎧 プレイリストを削除しています...",
  msg98: "🎧 プレイリストを削除しました!",
  msg99: `❌ 検索したいトラックの名前を書いてください。`,
  msg100: `❌ 楽曲を追加したいプレイリストの名前を書いてください。`,
  msg101: `❌ プレイリストに {max_music} 件以上の楽曲を入れることはできません。`,
  msg102: "🎧 楽曲を読み込み中...",
  msg103: "🎧 すべての楽曲がプレイリストに追加されます!",
  msg104: `❌ この楽曲は、既にこのプレイリストに含まれています。`,
  msg105: "🎧 プレイリストに追加しました!",
  msg106: `❌ 楽曲を削除したいプレイリストの名前を書いてください。`,
  msg107: `❌ この名前の楽曲はありません。`,
  msg108: "🎧 楽曲を削除しています...",
  msg109: "🎧 楽曲を削除しました!",
  msg110: "❌ 検索したいプレイリストの名前を書いてください。",
  msg111: `❌ このプレイリストには、楽曲がありません。`,
  msg112: "トップ公開プレイリスト",
  msg113: `一定時間経過したため、トップ公開プレイリストの表示を終了しました。再度表示するには\`/playlist top\`を実行してください。`,
  msg114: `❌ 再生されたことのある公開プレイリストがありません。`,
  msg115: "あなたのプレイリスト",
  msg116: `件の楽曲`,
  msg117: `❌ あなたはプレイリストを所有していません。`,
  msg118:
    "一定時間経過したため、プレイリストの表示を終了しました。再度使用するには `/playlist list {プレイリスト名}` を実行してください。",
  msg119:
    "これらのプレイリストを聴くには、**/play playlist <プレイリスト名>**コマンドを実行してください。\n楽曲をリストで見るには、**/playlist list <プレイリスト名>**を実行してください。",
  msg120: "テキストチャンネルを指定してください。",
  msg121:
    "<#{channel}> をコマンド使用チャンネルに追加しました。これにより、それ以外のチャンネルではコマンドが使用できなくなりました。",
  msg122: "既に登録されているデータはありません。",
  msg123: "<#{channel}> をコマンド使用チャンネルから削除しました。",
  msg124: "このチャンネルは、すでにコマンド使用チャンネルに登録されています。",
  msg125: "このチャンネルは、テキストチャンネルではありません。",
  msg126:
    "❌ このサーバーでコマンド可能なチャンネルの一覧です: {channel_filter}",
  msg127: "コマンドは定義されていません。",
  error7:
    "このコマンドは後でもう一度試してください。ボット開発者に報告されたバグの可能性があります。",
  msg128:
    "楽曲再生中にミュートに設定されたため、楽曲の再生を停止しました。再生を再開するには、ミュートを解除してください。",
  msg129: "再生",
  msg130: "有効な番号を入力してください。",
  msg131: "このコマンドを実行するためには、ボットに投票する必要があります。",
  msg132: "一時停止している楽曲はありません。",
  msg133: "キューの中身をシャッフルしました。",
  msg134: "誤った使い方をしています。 正しい例: `5:50` | `1:12:43`",
  msg135: "再生時間を {queue.formattedCurrentTime} に正常に設定しました。",
  msg136: "自動再生を有効にしました。これからはランダムな楽曲再生を有効にします。",
  msg137: "自動再生を無効にしました。",
};
module.exports = language;

Bug

Hello,

I have this error with the /servers command and when I click on a button

/home/container/node_modules/discord.js/src/client/actions/InteractionCreate.js:50
        if (channel && !channel.isTextBased()) return;
                                ^
TypeError: channel.isTextBased is not a function
    at InteractionCreateAction.handle (/home/container/node_modules/discord.js/src/client/actions/InteractionCreate.js:50:33)
    at Object.module.exports [as INTERACTION_CREATE] (/home/container/node_modules/discord.js/src/client/websocket/handlers/INTERACTION_CREATE.js:4:36)
    at WebSocketManager.handlePacket (/home/container/node_modules/discord.js/src/client/websocket/WebSocketManager.js:352:31)
    at WebSocketShard.onPacket (/home/container/node_modules/discord.js/src/client/websocket/WebSocketShard.js:489:22)
    at WebSocketShard.onMessage (/home/container/node_modules/discord.js/src/client/websocket/WebSocketShard.js:328:10)
    at callListener (/home/container/node_modules/ws/lib/event-target.js:290:14)
    at WebSocket.onMessage (/home/container/node_modules/ws/lib/event-target.js:209:9)
    at WebSocket.emit (node:events:527:28)
    at Receiver.receiverOnMessage (/home/container/node_modules/ws/lib/websocket.js:1180:20)
    at Receiver.emit (node:events:527:28)

Error reloading application [/] commands

Everything works fine on the console, but the slash commands dont work and the error says:

BoxingMusic successfully connected.
ERROR EXAMPLE:IF THE BOT IS WORKING, RESPONDING TO COMMANDS BUT NO SOUND, FOLLOW THESE STEPS;
Enter the page of your project that you opened on replit.com.
Click on the one that says shell from the boxes that say console and shell above the opened box at the bottom right.
Type npm uni discord-player
Type npm i [email protected]
Type npm uni ytdl-core
Type npm i [email protected]
Turn off and on the bot from the button that says "Stop" or "Run" in the middle of the replit screen
Connected MongoDB
Error reloading application [/] commands: DiscordAPIError[50035]: Invalid Form Body
11.options[0].options[1].description[BASE_TYPE_BAD_LENGTH]: Must be between 1 and 100 in length.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.