I want to do role logging in discord.py, example:
@bot.event
async def on_member_update(before, after)
await channel.send(after.role)
so it will send the after role(the new role), but after doesn't have after.role
that will return the new role
so how do i get the new role name and id?