[Python] Remove role from a Discrd user using the server and role IDs?

Discussão em 'Python' iniciado por Stack, Maio 24, 2025.

  1. Stack

    Stack Membro Participativo

    I want to have a Discord bot that I am coding in Discord.py simultaneously remove two specific roles in two different servers from the same user. Everywhere I look, I can only find code to remove a role from the same server that an async event is triggered in, but note instructions on how to do this using a server's id and the id of the role I wish to remove. How can I accomplish this?

    Continue reading...

Compartilhe esta Página