Preventing command spam