eritislami/evobot

not working /play /queue /playlist🐛

MDKed opened this issue · 1 comments

MDKed commented

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/node_mo 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
3. write in text channel /play (random youtube video url)

Expected behavior
joined channel played needed song

Environment (add if possible)

  • Node.js version: Node.js v20.5.1.
  • Ubuntu 20.04.6 LTS (GNU/Linux 5.4.0-159-generic x86_64)
  • evobot@2.7.0

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

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