You have two bots with the same id as #1. The second one is saying user_stats is missing so you should add it. And the last one says that the users table doesn't exist so you should add it.
Yes, so it should check if the receiver or sender is above rank 1 (2+) meaning they are staff and shouldn't be paid in general. I haven't a clue as to why it's still doing that for a rank 1 paying a rank 1