I am writing a bot for my server (via disnake), sometimes I have to restart it through the developer panel (discord.dev).
When I added him to the server, I changed his native role (which is called the same as the bot itself) to another one, but when the bot restarts, it flies back to the “native” one. Is it possible to use the code in the bot to immediately set the name of its native role?
I tried to find information on the Internet, but I didn’t find anything, not even a similar one. Just how to change his status (watching/playing).
Sergey Atroshkin is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.