You’ll need a chat bot.
As there is no API to ban a person.
So your button would have to relay an event to a chatbot and the chatbot can run the .ban username command in the needed chat
You’ll need a chat bot.
As there is no API to ban a person.
So your button would have to relay an event to a chatbot and the chatbot can run the .ban username command in the needed chat