Answer the question
In order to leave comments, you need to log in
Synchronous python library for discord?
Hello.
Bot. Its whole point is to simply change the roles of users on the channel in the discord.
The discord.py library is asynchronous. It works on callbacks, as I understand it, and returns an event when an event occurs on the channel.
I just need to change user roles regardless of what happens. Something like:
def change_role(user_id , new_role):
"""Some code"""
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question