Closed exatron2300 closed 1 year ago
Does your bot have permission to ban members?
Does your bot have permission to ban members
the oauth2 gives the bot all of the permissions, even tho it doesnt have a ban perms role
I don't think that code corresponds to the error you are seeing.
message.author.tag
will never be equal to exatron23#
so the code will never run.
You're iterating over every guild member and for some reason are indexing each member with a random number, which is undefined and impossibly a member that you are somehow attempting to ban...
Please visit https://discord.gg/sinisterware since this is not a library issue.
I have a 403 error when im trying to ban a member. Here is the error and here is my script:
![image](https://user-images.githubusercontent.com/125516395/219712885-9306bcc6-81a1-4c63-88ca-9525218a46c2.png)