The bot fails to track discord invites with a use count of 1. This probably happens because the invite is deleted instantly after join and the invite remove event is triggered which causes the bot to remove the invite. Because the invite is gone, the bot can't check for uses and therefore kicks the user instantly.