Discord Bot with Python - Tutorial 4 - Roles Bot

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

The last time I was this early Bucky was making python tutorials

SpeedChaser-noob
Автор

As someone who's very new at this there's a few things I find confusing, one being the whole:

def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
self.target_message_id = 1136140442447126622

part. However, one thing I'm most confused by is why at 24:31 after you show us how to remove roles. How come when we add roles to a user we don't need to define a member variable to see who reacted to the message and instead can use payload.member, but when we remove the role we need to define 'member = And I tried it, you can't use Am very confused why

MrSanfrinsisco
Автор

hey there it says 'myclient' is not defined why is that so?
my code is same as yours

Ghost-gmzt
Автор

Thank you for making such an in-depth video. This is amazing

michaelmam
Автор

how would I keep it to where they're only allowed to choose one role.

Aurowrawr
Автор

Quick question, is there any difference between these:

print(“Ready”)
print(‘Ready’)

electrowizard
Автор

sir the remove reaction is nor working in my case for some reason what should i do

piyushsingh
Автор

it doesnt give any errors but it just wont add or remove the roles

NullableIsLive
Автор

Enable developper mode on discord, then just copy messages ID by right clicking the message.

senseisensei
Автор

Hi bro, i get this error, 'NoneType' object has no attribute 'remove_roles', can you help me? :D

omarvilera
Автор

actually... i think you bought some subscribers..

olivierdupuis
Автор

isthat java on discord thats why its so slow jk

minari
welcome to shbcf.ru