can you tell me how to solve this error: Ignoring exception in on_raw_reaction_add discord.errors.Forbidden: 403 Forbidden (error code: 50013): Missing Permissions Ignoring exception in on_raw_reaction_remove
it does mean that there is some permission the bot is missing, but when I checked I had given it the admin permission which includes every permission. So still what might be causing this and what must I do for solving it?
I think that it has to do with the positioning of your bot's permission inside of discord itself. The error you are getting is due to your bot trying to assign a role to a user but its positioned lower than said role. I would go to the server the bot is in and got to the server setting, then I would go into Roles and I would move your bot's Role up to the top.
Thank you very much man! Superb guide. And thx for timestamps! Make more vids :) Don't stop making new videos, I believe in u. And how we can do to have only 1 role from reaction? ex. I have 3 reactions, but I want to give someone only one role. Or I can't do this with bot, and supposed do it yourself w/ my own hands
Mhm so if you want to restrict the user you would have to add an if statement above where you want to add your roles to check if they have any of the other roles
Hello, I wanted to ask if the "on_raw_reaction_add" and "on_raw_reaction_remove" functions can be used again but with different variables or if they can only be used once.
I would say that It could be used again but you might have to add a check that would look for the specific channel and then act upon the reactions in there which would allow you interact with the emojis else where
Thank you for your video! Unfortunately, after following your example I have an error: "UnboundLocalError: local variable 'role' referenced before assignment" - it is related to the line: "await member.add_roles(role)". I found that it might be missing an "else". Have you met this error while building this specific bot function? Thank you.
Hey, Sorry for the late reply was on vacation, so the guild is an attribute of member which itself is apart of the payload. so shorten from what the video showed, it could be payload.member.guild
good video, easy to follow, everything explained in detail so you can actually understand what u r doing - nice!
Thank you! one normal youtuber who helped me figure out the reactions
Thank you for watching!
Thank you I was trying hard to do this for 3 days and after find your video
Glad I could help, Hope you enjoy the series, Look forward to a new discord series coming soon with more advance stuff.
Man im searching for this from like 2 days thanks a lot man 💯
This Tutorial helped me a lot in coding my reaction role bot. Thank You So Much
Very very well explanation and you earned a sub
Thank you for watching!
thank you dude, I was searching for this a long time
What if I want the user to not be able to perform more than 3 roles?
Huge thanks to you my friend, u won a sub :)
Thank you! Hope you enjoy the video :)
Thanks man deserve a sub!
can you tell me how to solve this error:
Ignoring exception in on_raw_reaction_add
discord.errors.Forbidden: 403 Forbidden (error code: 50013): Missing Permissions
Ignoring exception in on_raw_reaction_remove
it does mean that there is some permission the bot is missing, but when I checked I had given it the admin permission which includes every permission. So still what might be causing this and what must I do for solving it?
I think that it has to do with the positioning of your bot's permission inside of discord itself. The error you are getting is due to your bot trying to assign a role to a user but its positioned lower than said role.
I would go to the server the bot is in and got to the server setting, then I would go into Roles and I would move your bot's Role up to the top.
@@ExceedCodes ok i shall try it and see if it works
@@ExceedCodes yes now it works absolutely fine after shifting the places. Thanks for the help really!
how to send a message when the roles are added? because ctx doesn't work
Thank you very much man! Superb guide. And thx for timestamps! Make more vids :) Don't stop making new videos, I believe in u.
And how we can do to have only 1 role from reaction? ex. I have 3 reactions, but I want to give someone only one role. Or I can't do this with bot, and supposed do it yourself w/ my own hands
Mhm so if you want to restrict the user you would have to add an if statement above where you want to add your roles to check if they have any of the other roles
@@ExceedCodes And if they already have a role, then not give them a new one?
Yup! At least that’s what I assume you wanted to happen,
@@ExceedCodes Ok, I should try this. Thank you! :)
how to do it with nitro emoji? thank you
i do it
bro can you pls upload you codes to github?
and a suggestion: pls increase the font size :)
btw great work
Thank you! That means a lot to me. Later on in the series I increased the size of the code alongside a new style of presenting it. Check it out :)
Yeah! Sure:)
Hey guys! Join my Discord server to chat and hang or play with the bot we built
discord.gg/QXWn8BZ8Sm
amazing
Hi bro, I am facing a error the error is "NameError: name 'ourMessageID' is not defined" do you have any idea on what to do?
Yeah, your ourMessageID variable is not defined.... it literally says in the error.
Hello! Everything I did worked, except the role wasn't added. Is there anything I did wrong?
how did you get the bot to send the 'Welcome to Exceed' message? I don't see anything in your code.
To get the bot to send something you would do await bot.send(embed=embed)
Hello, I wanted to ask if the "on_raw_reaction_add" and "on_raw_reaction_remove" functions can be used again but with different variables or if they can only be used once.
I would say that It could be used again but you might have to add a check that would look for the specific channel and then act upon the reactions in there which would allow you interact with the emojis else where
Thank you for your video!
Unfortunately, after following your example I have an error: "UnboundLocalError: local variable 'role' referenced before assignment" - it is related to the line: "await member.add_roles(role)". I found that it might be missing an "else". Have you met this error while building this specific bot function? Thank you.
Same problem !
thank you bro so much!
i need github
got a thumbs up from me but i wouldve really appreciated it if you would’ve put the code in the description
I search the API and didn’t find the guild in payload it just has guild_id
Is that any difference or just the discord.py updates
Oh sorry
It just my fault
Hey, Sorry for the late reply was on vacation, so the guild is an attribute of member which itself is apart of the payload.
so shorten from what the video showed, it could be payload.member.guild