Skip to content
Advertisement

How can I make the bot say something when someone tries to kick a higher admin or himself?

When someone tries to kick a higher in rank admin the bot does nothing not even an error, I want it instead to return a text into chat. Also if someone tries to kick/ban himself it works, how can I disable that? Thanks here is the code

JavaScript

Advertisement

Answer

you can compare top_role of the members

JavaScript
User contributions licensed under: CC BY-SA
4 People found this is helpful
Advertisement