Test if user is banned
How can I test if a User is banned?
3 Replies
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
await <Guild>.bans.fetch('id')
Will throw an error if doesn't exist.Thanks
not working
Its always true
even if the user is not banned
ok
I have
if(await interaction.guild.bans.fetch(user.id)) ...
ok
that means?
yes
what did I need to do
my english is not the best
ok