eritislami / evobot

🤖 EvoBot is a Discord Music Bot built with TypeScript + Discord.js, includes Docker builds & localization in 20+ languages
MIT License
1.85k stars 2.02k forks source link

not working /play /queue /playlist🐛 #1484

Closed MDKed closed 1 year ago

MDKed commented 1 year ago

Describe the bug when trying to feed bot a link from youtube it says MissingPermissionsException { permissions: [ 'ManageMessages' ], message: 'Missing permissions:' } same story with /queue /playlist BUT if i use /search bla-bla-bla it works

sometimes when it play from /search it gives this error :

DiscordAPIError[50013]: Missing Permissions at handleErrors (/root/Desktop/DiscBot2/evobot/node_modules/@discordjs/rest/ src/lib/handlers/Shared.ts:152:10) at processTicksAndRejections (node:internal/process/task_queues:95:5) at async SequentialHandler.runRequest (/root/Desktop/DiscBot2/evobot/nodemo dules/@discordjs/rest/src/lib/handlers/SequentialHandler.ts:399:20) at async SequentialHandler.queueRequest (/root/Desktop/DiscBot2/evobot/node modules/@discordjs/rest/src/lib/handlers/SequentialHandler.ts:169:11) at async REST.request (/root/Desktop/DiscBot2/evobot/node_modules/@discordjs /rest/src/lib/REST.ts:343:20) at async ReactionManager.removeAll (/root/Desktop/DiscBot2/evobot/node_modul es/discord.js/src/managers/ReactionManager.js:63:5) { requestBody: { files: undefined, json: undefined }, rawError: { message: 'Missing Permissions', code: 50013 }, code: 50013, status: 403, method: 'DELETE', url: 'https://discord.com/api/v10/channels/1148353189503053897/messages/114857 9522686484532/reactions'

message intent - checked, without it bot don't even startup

How To Reproduce Steps to reproduce the behavior: 1.launch bot 2.wait till it ready

  1. write in text channel /play (random youtube video url)

Expected behavior joined channel played needed song

Environment (add if possible)

Additional information & screenshots the /search something something cool - is working, it gives variants, and then connect to voice channel and plays. /lyrics - sends message to text channel /move 2 1 - also works /skip # - also works

MDKed commented 1 year ago

i managed it myself. create new app in discord dev, and invited bot/ i think, i messed up invite link with my old app, and don't gived needed permissions to bot. so, problem with me, sorry for trouble