Hi, I made a bot for a friend and I want to troll him by making a command that can kick everyone except people higher in roles than the bot , if anyone knows how to make such command please let me know, it’s just a troll and nothing bad will happen, hopefully
MEE6 can, I believe.
You can add MEE6 bot by visiting www.mee6.xyz
I havent tried it yet but heres the code:
message.guild.members.forEach(user => guild.members.kick(user.id)
Like others said THIS IS AGAINST DISCORD’S TERMS OF SERVICE, IT COUNTS AS API ABUSE, AND CAN GET YOU AND/OR YOUR BOT BANNED FROM DISCORD
ALERT: THIS IS AGAINST DISCORD’S TERMS OF SERVICE, IT COUNTS AS API ABUSE, AND CAN GET YOU AND/OR YOUR BOT BANNED FROM DISCORD. Do not spam kick people, Discord will think you are trying to raid a server, and may quickly ban you and/or your bot.
Even if this is a troll it is against the Discord T & Cs as it says @Consoli0 . In addition if you are a simple user on the Discord I do not think that the use of this bot will please everyone.