Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

not working /play /queue /playlist🐛 #1484

Closed
MDKed opened this issue Sep 5, 2023 · 1 comment
Closed

not working /play /queue /playlist🐛 #1484

MDKed opened this issue Sep 5, 2023 · 1 comment

Comments

@MDKed
Copy link

MDKed commented Sep 5, 2023

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
Copy link
Author

MDKed commented Sep 5, 2023

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

@MDKed MDKed closed this as completed Sep 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant