Discord.py Give users Roles based on Reaction in Python

  Рет қаралды 14,868

ExceedCodes

ExceedCodes

Күн бұрын

Пікірлер: 49
@-sheny215
@-sheny215 Жыл бұрын
good video, easy to follow, everything explained in detail so you can actually understand what u r doing - nice!
@crvasldaasd9850
@crvasldaasd9850 3 жыл бұрын
Thank you! one normal youtuber who helped me figure out the reactions
@ExceedCodes
@ExceedCodes 3 жыл бұрын
Thank you for watching!
@mayankknirwan
@mayankknirwan 3 жыл бұрын
Man im searching for this from like 2 days thanks a lot man 💯
@veerchauhan1616
@veerchauhan1616 3 жыл бұрын
Thank you I was trying hard to do this for 3 days and after find your video
@ExceedCodes
@ExceedCodes 3 жыл бұрын
Glad I could help, Hope you enjoy the series, Look forward to a new discord series coming soon with more advance stuff.
@vineesh805
@vineesh805 3 жыл бұрын
This Tutorial helped me a lot in coding my reaction role bot. Thank You So Much
@lucasgazzana8121
@lucasgazzana8121 3 жыл бұрын
thank you dude, I was searching for this a long time
@maximus7184
@maximus7184 3 жыл бұрын
What if I want the user to not be able to perform more than 3 roles?
@smeezy845
@smeezy845 3 жыл бұрын
Very very well explanation and you earned a sub
@ExceedCodes
@ExceedCodes 3 жыл бұрын
Thank you for watching!
@VOYD__
@VOYD__ 3 жыл бұрын
Huge thanks to you my friend, u won a sub :)
@ExceedCodes
@ExceedCodes 3 жыл бұрын
Thank you! Hope you enjoy the video :)
@ExceedCodes
@ExceedCodes 4 жыл бұрын
Hey guys! Join my Discord server to chat and hang or play with the bot we built discord.gg/QXWn8BZ8Sm
@incognitomodedev
@incognitomodedev 3 жыл бұрын
Thanks man deserve a sub!
@Fox28235
@Fox28235 3 жыл бұрын
how to send a message when the roles are added? because ctx doesn't work
@mrigkrafts4859
@mrigkrafts4859 3 жыл бұрын
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
@mrigkrafts4859
@mrigkrafts4859 3 жыл бұрын
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?
@ExceedCodes
@ExceedCodes 3 жыл бұрын
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.
@mrigkrafts4859
@mrigkrafts4859 3 жыл бұрын
@@ExceedCodes ok i shall try it and see if it works
@mrigkrafts4859
@mrigkrafts4859 3 жыл бұрын
@@ExceedCodes yes now it works absolutely fine after shifting the places. Thanks for the help really!
@novaop6267
@novaop6267 4 жыл бұрын
bro can you pls upload you codes to github? and a suggestion: pls increase the font size :) btw great work
@ExceedCodes
@ExceedCodes 3 жыл бұрын
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 :)
@novaop6267
@novaop6267 3 жыл бұрын
Yeah! Sure:)
@sqaaq1
@sqaaq1 3 жыл бұрын
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
@ExceedCodes
@ExceedCodes 3 жыл бұрын
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
@sqaaq1
@sqaaq1 3 жыл бұрын
@@ExceedCodes And if they already have a role, then not give them a new one?
@ExceedCodes
@ExceedCodes 3 жыл бұрын
Yup! At least that’s what I assume you wanted to happen,
@sqaaq1
@sqaaq1 3 жыл бұрын
@@ExceedCodes Ok, I should try this. Thank you! :)
@x_ragequit
@x_ragequit 3 жыл бұрын
Hello! Everything I did worked, except the role wasn't added. Is there anything I did wrong?
@lolek4872
@lolek4872 3 жыл бұрын
how to do it with nitro emoji? thank you
@lolek4872
@lolek4872 3 жыл бұрын
i do it
@NINJAGAMING-vp4mh
@NINJAGAMING-vp4mh 2 жыл бұрын
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?
@JustinS06
@JustinS06 2 жыл бұрын
Yeah, your ourMessageID variable is not defined.... it literally says in the error.
@matiasramirez7047
@matiasramirez7047 3 жыл бұрын
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.
@ExceedCodes
@ExceedCodes 3 жыл бұрын
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
@alexandrumarinescu6991
@alexandrumarinescu6991 3 жыл бұрын
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.
@bastien9469
@bastien9469 3 жыл бұрын
Same problem !
@declankivlehan9821
@declankivlehan9821 3 жыл бұрын
how did you get the bot to send the 'Welcome to Exceed' message? I don't see anything in your code.
@ExceedCodes
@ExceedCodes 3 жыл бұрын
To get the bot to send something you would do await bot.send(embed=embed)
@0xk4b1r
@0xk4b1r 2 жыл бұрын
amazing
@tigran7011
@tigran7011 3 жыл бұрын
thank you bro so much!
@Wiser51
@Wiser51 3 жыл бұрын
got a thumbs up from me but i wouldve really appreciated it if you would’ve put the code in the description
@rezamando374
@rezamando374 2 жыл бұрын
i need github
@shineliao2399
@shineliao2399 3 жыл бұрын
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
@shineliao2399
@shineliao2399 3 жыл бұрын
Oh sorry It just my fault
@ExceedCodes
@ExceedCodes 3 жыл бұрын
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
Discord.py Role Restriction & Game Menu Setup in Python
11:20
ExceedCodes
Рет қаралды 3,6 М.
How to write a Discord Role Reaction Bot in Python w/ Discord.py
17:16
Anson the Developer
Рет қаралды 59 М.
UFC 310 : Рахмонов VS Мачадо Гэрри
05:00
Setanta Sports UFC
Рет қаралды 1,2 МЛН
Что-что Мурсдей говорит? 💭 #симбочка #симба #мурсдей
00:19
Set up your own discord.py game bot using Python!
14:04
ExceedCodes
Рет қаралды 8 М.
(Discord.py) Welcome Message with Images!!!
10:44
Civo
Рет қаралды 16 М.
Discord Bot with Python - Tutorial 2 - Responding to Messages
14:07
Use Arc Instead of Vec
15:21
Logan Smith
Рет қаралды 158 М.
Python Discord Bot - Permissions & Checks
12:40
Anson the Developer
Рет қаралды 27 М.
Simple3D Tutorial - Scratch/TurboWarp Advanced 3D (P1?)
14:46
Assigning Roles with Buttons - Python Discord Bot Tutorial
14:33
Jonah Lawrence • Dev Pro Tips
Рет қаралды 21 М.
15 Python Libraries You Should Know About
14:54
ArjanCodes
Рет қаралды 411 М.
UFC 310 : Рахмонов VS Мачадо Гэрри
05:00
Setanta Sports UFC
Рет қаралды 1,2 МЛН