You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
So far, what I'm experiencing on the code is that it kicks users, but only once they have messaged at least once on the server and become inactive after a certain amount of time. But, in the command prompt, it will show that the bot is missing permissions, as shown in the roles section in the discord management, it does have all the permissions, along with administrator. Adding to that, the "Test" role doesn't have anything specific at all like administrator because it has no checked permissions, nor does the "@everyone" role. I believe it's trying to kick the bot itself, even though it's to be exempted?
To Reproduce
Steps to reproduce the behavior:
Here's my index.js [https://pastebin.com/raw/mdmpKYxN] that checks who's inactive every 2.5 seconds, to test out whether it's working, but even if at the same speed as the default one, it's still the same.
I run a cmd titled [kick.bat] which has "node index.js" on it, so it runs the bot locally.
After a while, it will send screenshots similar as to this one in the photo that says "Discord Cleaner will be kicked"
Screenshots
Additional context
Though, when someone does send a message, it will kick the user after a certain amount of time, but I was hoping it would kick them even if they didn't send a message, even if they were offline or didn't do anything in the server at all. Like reacting to messages, joining voice chats, and such.
The text was updated successfully, but these errors were encountered:
Describe the bug
So far, what I'm experiencing on the code is that it kicks users, but only once they have messaged at least once on the server and become inactive after a certain amount of time. But, in the command prompt, it will show that the bot is missing permissions, as shown in the roles section in the discord management, it does have all the permissions, along with administrator. Adding to that, the "Test" role doesn't have anything specific at all like administrator because it has no checked permissions, nor does the "@everyone" role. I believe it's trying to kick the bot itself, even though it's to be exempted?
To Reproduce
Steps to reproduce the behavior:
Screenshots
Additional context
Though, when someone does send a message, it will kick the user after a certain amount of time, but I was hoping it would kick them even if they didn't send a message, even if they were offline or didn't do anything in the server at all. Like reacting to messages, joining voice chats, and such.
The text was updated successfully, but these errors were encountered: