check the role of user in on_message discord.py code example
Example 1: discord py get user by id
user = bot.get_user(user_id)
Example 2: check the role of user in on_message discord.py
503609286367248384
user = bot.get_user(user_id)
503609286367248384